예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }
예제 #3
0
 public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time)
 {
     $this->logError($test, $e);
     parent::addError($test, $e, $time);
 }