function ProgressPrinter::testFinished
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ProgressPrinter/ ProgressPrinter.php, line 257
Class
- ProgressPrinter
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TextUI\Output\Default\ProgressPrinterCode
public function testFinished() : void {
if ($this->status === null) {
$this->printProgressForSuccess();
}
elseif ($this->status
->isSkipped()) {
$this->printProgressForSkipped();
}
elseif ($this->status
->isIncomplete()) {
$this->printProgressForIncomplete();
}
elseif ($this->status
->isRisky()) {
$this->printProgressForRisky();
}
elseif ($this->status
->isNotice()) {
$this->printProgressForNotice();
}
elseif ($this->status
->isDeprecation()) {
$this->printProgressForDeprecation();
}
elseif ($this->status
->isWarning()) {
$this->printProgressForWarning();
}
elseif ($this->status
->isFailure()) {
$this->printProgressForFailure();
}
else {
$this->printProgressForError();
}
$this->status = null;
$this->prepared = false;
}