public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) { if ($test instanceof $this->testTypeOfInterest) { $this->testStatus = PHPUnit_Runner_BaseTestRunner::STATUS_ERROR; $this->failed++; } }