public function PHPUnit_Util_Log_JSON::addRiskyTest in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Util/Log/JSON.php \PHPUnit_Util_Log_JSON::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/ Util/ Log/ JSON.php, line 101
Class
- PHPUnit_Util_Log_JSON
- A TestListener that generates JSON messages.
Code
public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this
->writeCase('error', $time, PHPUnit_Util_Filter::getFilteredStacktrace($e, false), 'Risky Test: ' . $e
->getMessage(), $test);
$this->currentTestPass = false;
}