A test ended.
PHPUnit_Framework_Test $test:
float $time:
Overrides PHPUnit_Framework_TestListener::endTest
public function endTest(PHPUnit_Framework_Test $test, $time) {
if (!$this->lastTestFailed) {
$this
->writeProgress('.');
}
if ($test instanceof PHPUnit_Framework_TestCase) {
$this->numAssertions += $test
->getNumAssertions();
}
else {
if ($test instanceof PHPUnit_Extensions_PhptTestCase) {
$this->numAssertions++;
}
}
$this->lastTestFailed = FALSE;
if ($test instanceof PHPUnit_Framework_TestCase) {
if (!$test
->hasPerformedExpectationsOnOutput()) {
$this
->write($test
->getActualOutput());
}
}
}