public function PHPUnit_TextUI_ResultPrinter::startTestSuite in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php \PHPUnit_TextUI_ResultPrinter::startTestSuite()
A testsuite started.
@since Method available since Release 2.2.0
Parameters
PHPUnit_Framework_TestSuite $suite:
Overrides PHPUnit_Framework_TestListener::startTestSuite
File
- vendor/
phpunit/ phpunit/ src/ TextUI/ ResultPrinter.php, line 456
Class
- PHPUnit_TextUI_ResultPrinter
- Prints the result of a TextUI TestRunner run.
Code
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;
}
}