public startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
{
if ($this->numTests == -1) {
$this->numTests = count($suite);
$this->numTestsWidth = strlen((string) $this->numTests);
$this->maxColumn = $this->numberOfColumns - strlen(' / (XXX%)') - 2 * $this->numTestsWidth;
}
}
/** * @param PHPUnit_Framework_TestSuite $suite * @since Method available since Release 2.7.0 */ public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { $oldVerbose = $this->verbose; $this->verbose = false; parent::startTestSuite($suite); $this->verbose = $oldVerbose; }