public function PHPUnit_TextUI_ResultPrinter::addRiskyTest in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php \PHPUnit_TextUI_ResultPrinter::addRiskyTest()
Risky test.
@since Method available since Release 4.0.0
Parameters
PHPUnit_Framework_Test $test:
Exception $e:
float $time:
Overrides PHPUnit_Framework_TestListener::addRiskyTest
File
- vendor/
phpunit/ phpunit/ src/ TextUI/ ResultPrinter.php, line 430
Class
- PHPUnit_TextUI_ResultPrinter
- Prints the result of a TextUI TestRunner run.
Code
public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this
->writeProgressWithColor('fg-yellow, bold', 'R');
$this->lastTestFailed = true;
}