/** * A failure occurred. * * @param PHPUnit_Framework_Test $test * @param PHPUnit_Framework_AssertionFailedError $e * @param float $time */ public function addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time) { $this->failures[$test->toString()] = $e->getMessage(); parent::addFailure($test, $e, $time); }
/** * A failure occurred. * * @param \PHPUnit_Framework_Test $test * @param \PHPUnit_Framework_AssertionFailedError $e * @param float $time */ public function addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time) { $this->failures[Descriptor::getTestSignature($test)] = $this->cleanMessage($e); parent::addFailure($test, $e, $time); }
/** * Constructor. * * @param mixed $out * @throws InvalidArgumentException */ public function __construct($out = NULL) { parent::__construct($out); $this->templatePath = sprintf('%s%stemplate%s', dirname(__FILE__), DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR); }
public function addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time) { $this->logError($test, $e); parent::addFailure($test, $e, $time); }