コード例 #1
0
ファイル: NestedSetsTest.php プロジェクト: kandy/system
 protected function setUp()
 {
     parent::setUp();
     $this->table = System_Locator_TableLocator::getInstance()->get('Tree');
 }
コード例 #2
0
ファイル: MysqlTest.php プロジェクト: kandy/system
 protected function tearDown()
 {
     parent::tearDown();
     $this->_dropTestTable();
 }
コード例 #3
0
ファイル: AuthTest.php プロジェクト: kandy/system
 /**
  * Tears down the fixture, for example, closes a network connection.
  * This method is called after a test is executed.
  */
 protected function tearDown()
 {
     Zend_Auth::getInstance()->clearIdentity();
     parent::tearDown();
 }
コード例 #4
0
ファイル: NameToIdTest.php プロジェクト: kandy/system
 /**
  * Tears down the fixture, for example, closes a network connection.
  * This method is called after a test is executed.
  */
 protected function tearDown()
 {
     parent::tearDown();
     System_Locator_TableLocator::unsetInstance();
 }