/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { // Restore the factory state $this->restoreFactoryState(); unset($this->object); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() */ protected function tearDown() { // Reset the filter instances. TestReflection::setValue('JFilterInput', 'instances', array()); $this->restoreFactoryState(); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void * * @since 3.0 */ protected function tearDown() { TestReflection::setValue('JComponentHelper', 'components', array()); // Restore the state $this->restoreFactoryState(); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void * * @since 3.1 */ protected function tearDown() { $_SERVER = $this->backupServer; unset($this->backupServer); $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.6 */ protected function tearDown() { // Reset the dispatcher instance. TestReflection::setValue('JEventDispatcher', 'instance', null); $_SERVER = $this->backupServer; $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.6 */ protected function tearDown() { unset($this->db); parent::tearDown(); }
/** * Remove created files * * @return void * * @since 12.1 */ protected function tearDown() { $this->_cleanupTestFiles(); unset($this->object); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.6 */ protected function tearDown() { unset($this->object); $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.2 */ protected function tearDown() { // Reset the dispatcher and application instances. TestReflection::setValue('JEventDispatcher', 'instance', null); TestReflection::setValue('JApplicationCms', 'instances', array()); $_SERVER = $this->backupServer; unset($this->backupServer); unset($config); unset($this->class); $this->restoreFactoryState(); parent::tearDown(); }
/** * Remove created files * * @return void * * @since 12.1 */ protected function tearDown() { $this->_cleanupTestFiles(); unset($this->object); $this->restoreFactoryState(); parent::tearDown(); }
/** * Tears down the fixture. * * This method is called after a test is executed. * * @return void * * @since 11.3 */ public function tearDown() { $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.2 */ protected function tearDown() { TestReflection::setValue('JPluginHelper', 'plugins', null); // Reset some web inspector static settings. JApplicationCmsInspector::$headersSent = false; JApplicationCmsInspector::$connectionAlive = true; $_SERVER = $this->backupServer; $_SERVER = $this->backupServer; unset($this->backupServer); unset($config); unset($this->class); $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.6 */ protected function tearDown() { unset($this->object); unset($app); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.2 */ protected function tearDown() { // Reset the dispatcher instance. TestReflection::setValue('JEventDispatcher', 'instance', null); // Reset some web inspector static settings. JApplicationCmsInspector::$headersSent = false; JApplicationCmsInspector::$connectionAlive = true; $_SERVER = $this->backupServer; $this->restoreFactoryState(); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void */ protected function tearDown() { parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void * * @since 3.4 */ protected function tearDown() { $this->restoreFactoryState(); TestReflection::setValue('JPluginHelper', 'plugins', null); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { TestReflection::setValue('JDocument', 'instances', array()); $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.2 */ protected function tearDown() { $_SERVER = $this->server; unset($this->server); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void * * @since 4.0 */ protected function tearDown() { TestReflection::setValue('JComponentHelper', 'components', array()); parent::tearDown(); }
/** * Tears down the fixture. * * This method is called after a test is executed. * * @return void * * @since 11.3 */ protected function tearDown() { // $this->restoreFactoryState(); unset($this->class); parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void * * @since 3.6 */ protected function tearDown() { $this->restoreFactoryState(); TestReflection::setValue($this->dispatcher, 'instance', null); parent::tearDown(); }
/** * Method to tear down what was previously setup before each tests. * * @since 12.3 * * @return void */ public function tearDown() { $this->fixture = null; parent::tearDown(); }
/** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { $this->restoreFactoryState(); parent::tearDown(); }
/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 3.2 */ protected function tearDown() { // Reset the dispatcher and application instances. TestReflection::setValue('JEventDispatcher', 'instance', null); TestReflection::setValue('JApplicationCms', 'instances', array()); $this->restoreFactoryState(); parent::tearDown(); }