Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.4
  */
 protected function tearDown()
 {
     parent::tearDown();
 }
Ejemplo n.º 3
0
 /**
  * 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();
 }
Ejemplo n.º 4
0
 /**
  * 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();
 }
Ejemplo n.º 5
0
 /**
  * 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();
 }
Ejemplo n.º 6
0
 /**
  * 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();
 }