tearDown() 보호된 메소드

Template Method that is called after the tests of this test suite have finished running.
protected tearDown ( )
 protected function tearDown()
 {
     foreach ($this->savedGlobals as $var => $val) {
         $GLOBALS[$var] = $val;
     }
     // Restore backends
     RepoGroup::destroySingleton();
     FileBackendGroup::destroySingleton();
     parent::tearDown();
 }
예제 #2
0
파일: AllTest.php 프로젝트: ab-k/phresco
 protected function tearDown()
 {
     parent::tearDown();
 }
 protected function tearDown()
 {
     // shutdown CakePHP fixture
     if (isset($this->fixtureManager)) {
         $this->fixtureManager->shutdown();
     }
     parent::tearDown();
 }