/** * Informs the result that a test was completed. * * @param PHPUnit2_Framework_Test * @access public */ public function endTest(PHPUnit2_Framework_Test $test) { if ($test instanceof PHPUnit2_Framework_TestCase) { $this->codeCoverageInformation[$test->getName()] = $test->getCodeCoverageInformation(); } foreach ($this->listeners as $listener) { $listener->endTest($test); } }