function ResultPrinter::printTestResultBody
1 call to ResultPrinter::printTestResultBody()
- ResultPrinter::printTestResult in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ TestDox/ ResultPrinter.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ TestDox/ ResultPrinter.php, line 99
Class
- ResultPrinter
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TextUI\Output\TestDoxCode
private function printTestResultBody(TestDoxTestResult $test) : void {
if ($test->status()
->isSuccess()) {
return;
}
if (!$test->hasThrowable()) {
return;
}
$this->printTestResultBodyStart($test);
$this->printThrowable($test);
$this->printTestResultBodyEnd($test);
}