/** * 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.3 */ protected function tearDown() { // Reset some daemon inspector static settings. JDaemonInspector::$pcntlChildExitStatus = 0; JDaemonInspector::$pcntlFork = 0; JDaemonInspector::$pcntlSignal = true; JDaemonInspector::$pcntlWait = 0; $this->inspector->setClassInstance(null); $this->restoreFactoryState(); 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(); }