/** * An error occurred. * * @param \PHPUnit_Framework_Test $test * @param \Exception $e * @param float $time */ public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) { $this->failures[Descriptor::getTestSignature($test)] = $this->cleanMessage($e); parent::addError($test, $e, $time); }
/** * An error occurred. * * @param \PHPUnit_Framework_Test $test * @param \Exception $e * @param float $time */ public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) { $this->failures[$test->toString()] = $e->getMessage(); parent::addError($test, $e, $time); }
public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) { $this->logError($test, $e); parent::addError($test, $e, $time); }