public function PHPUnit_TextUI_ResultPrinter::addError in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php \PHPUnit_TextUI_ResultPrinter::addError()
An error occurred.
Parameters
PHPUnit_Framework_Test $test:
Exception $e:
float $time:
Overrides PHPUnit_Framework_TestListener::addError
File
- vendor/
phpunit/ phpunit/ src/ TextUI/ ResultPrinter.php, line 390
Class
- PHPUnit_TextUI_ResultPrinter
- Prints the result of a TextUI TestRunner run.
Code
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this
->writeProgressWithColor('fg-red, bold', 'E');
$this->lastTestFailed = true;
}