/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 11.1 */ protected function tearDown() { // Reset the dispatcher instance. JDispatcherInspector::setInstance(null); // Reset the loaded plugins. JPluginHelperInspector::setPlugins(null); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 11.4 */ protected function tearDown() { parent::tearDown(); }
/** * Tears down the fixture. * * This method is called after a test is executed. * * @return void * * @since 11.4 */ protected function tearDown() { $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 11.1 */ protected function tearDown() { // Reset the dispatcher instance. JDispatcherInspector::setInstance(null); // Reset some web inspector static settings. JApplicationWebInspector::$headersSent = false; JApplicationWebInspector::$connectionAlive = true; $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 11.1 */ protected function tearDown() { // Reset the dispatcher instance. JDispatcherInspector::setInstance(null); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDownAfterClass() * @since 11.3 */ public static function tearDownAfterClass() { ini_restore('memory_limit'); parent::tearDownAfterClass(); }