コード例 #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();
 }
コード例 #2
0
 /**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.4
  */
 protected function tearDown()
 {
     parent::tearDown();
 }
コード例 #3
0
ファイル: JHtmlFormTest.php プロジェクト: raquelsa/Joomla
 /**
  * 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();
 }
コード例 #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();
 }
コード例 #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();
 }
コード例 #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();
 }