本文整理汇总了PHP中PHPUnit_TextUI_ResultPrinter::endTestSuite方法的典型用法代码示例。如果您正苦于以下问题:PHP PHPUnit_TextUI_ResultPrinter::endTestSuite方法的具体用法?PHP PHPUnit_TextUI_ResultPrinter::endTestSuite怎么用?PHP PHPUnit_TextUI_ResultPrinter::endTestSuite使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PHPUnit_TextUI_ResultPrinter
的用法示例。
在下文中一共展示了PHPUnit_TextUI_ResultPrinter::endTestSuite方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: endTestSuite
/**
* @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;
}
示例2: endTestSuite
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";
}
示例3: endTestSuite
/**
* 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);
}
示例4: endTestSuite
/**
* 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);
}
示例5: endTestSuite
/**
* 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());
}