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.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();
 }
Ejemplo n.º 3
0
 /**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.4
  */
 protected function tearDown()
 {
     parent::tearDown();
 }
Ejemplo n.º 4
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.º 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);
     // Reset some web inspector static settings.
     JApplicationWebInspector::$headersSent = false;
     JApplicationWebInspector::$connectionAlive = true;
     $this->restoreFactoryState();
     parent::tearDown();
 }
Ejemplo n.º 6
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();
 }