endTestSuite() public method

A testsuite ended.
public endTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite
 /**
  * @param PHPUnit_Framework_TestSuite $suite
  * @since Method available since Release 2.7.0
  */
 public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
 {
     $oldVerbose = $this->verbose;
     $this->verbose = false;
     parent::endTestSuite($suite);
     $this->verbose = $oldVerbose;
 }
Esempio n. 2
0
 public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
 {
     parent::endTestSuite($suite);
     if ($this->_blDBResetPerSuit) {
         $this->_oDBMaintenance->restoreDB($this->_iDBChangeMode, $this->_iDBChangeOutput);
         echo "|";
     }
     echo "\ntime stats: min {$this->_timeStats['min']}, max {$this->_timeStats['max']}, avg {$this->_timeStats['avg']}, slowest test: {$this->_timeStats['slowest']}|\n";
 }
Esempio n. 3
0
 /**
  * A testsuite ended.
  *
  * @param  PHPUnit_Framework_TestSuite $suite
  * @return void
  */
 public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
 {
     $this->write(sprintf("%s< Duration: %s sec\n", str_repeat('  ', $this->level), $this->getDuration()));
     $this->level--;
     return parent::endTestSuite($suite);
 }
 /**
  * A test suite ended.
  *
  * @param  PHPUnit_Framework_TestSuite $suite
  * @since  Method available since Release 2.2.0
  */
 public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
 {
     //echo __METHOD__.chr(10);
     parent::endTestSuite($suite);
 }
 /**
  * A test suite ended.
  *
  * @param PHPUnit_Framework_TestSuite $suite
  */
 public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
 {
     parent::endTestSuite($suite);
     wfDebugLog($this->logChannel, 'END suite ' . $suite->getName());
 }