function TestResultCollector::testFinished
Throws
File
-
vendor/
phpunit/ phpunit/ src/ Logging/ TestDox/ TestResult/ TestResultCollector.php, line 381
Class
- TestResultCollector
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Logging\TestDoxCode
public function testFinished(Finished $event) : void {
if (!$event->test()
->isTestMethod()) {
return;
}
$test = $event->test();
assert($test instanceof TestMethod);
$this->process($test);
$this->status = null;
$this->throwable = null;
$this->prepared = false;
}