public function tearDown() { ezpINIHelper::restoreINISettings(); $this->event = null; ezpEvent::resetInstance(); parent::tearDown(); }
protected function tearDown() { if (ezpTestRunner::dbPerTest()) { $db = eZDB::instance(); $db->close(); } parent::tearDown(); }
public function tearDown() { // Make sure to restore the RequestURI in case other tests depends on // on the RequestURI variable. $ezsys = eZSys::instance(); $ezsys->RequestURI = $this->originalRequestURI; parent::tearDown(); }
public function tearDown() { $filename = 'tests/tests/lib/ezimage/data/andernach_multihandler.jpg'; if (is_file($filename)) { unlink($filename); } parent::tearDown(); }
public function tearDown() { foreach (array($this->rootDir . 'a/fileA', $this->rootDir . 'a/b/fileB') as $file) { file_exists($file) && unlink($file); } foreach (array($this->rootDir . 'a/b/c/', $this->rootDir . 'a/b/', $this->rootDir . 'a/', $this->rootDir) as $dir) { file_exists($dir) && rmdir($dir); } parent::tearDown(); }
public function tearDown() { // If file has been renamed, restore it at original place if ( file_exists( $this->destFile ) ) rename( $this->destFile, $this->file ); // If file has been removed, restore it as well if ( !file_exists( $this->file ) ) file_put_contents ( $this->file, $this->content ); PHPUnit_Framework_Error_Warning::$enabled = $this->warningEnabledOrig; parent::tearDown(); }
public function tearDown() { ezpINIHelper::restoreINISettings(); unlink("tests/tests/lib/ezimage/data/andernach_small.jpg"); parent::tearDown(); }
public function tearDown() { parent::tearDown(); }
public function tearDown() { parent::tearDown(); ezpINIHelper::restoreINISettings(); $this->mobileDeviceDetect = null; }
public function tearDown() { parent::tearDown(); $this->mobileDeviceDetect = null; }
public function tearDown() { ezpINIHelper::restoreINISettings(); parent::tearDown(); }
public function tearDown() { ezpINIHelper::restoreINISettings(); eZCache::clearByID('active_extensions'); parent::tearDown(); }
protected function tearDown() { $GLOBALS['eZDebugEnabled'] = false; parent::tearDown(); }
public function tearDown() { date_default_timezone_set($this->defaultTimezone); parent::tearDown(); }
public function tearDown() { // Make sure to restore eZSys instance in case other tests depends on it eZSys::setInstance($this->oldSysInstance); parent::tearDown(); }