public function NativePhpunitPrinter::addFailure

A failure occurred.

Parameters

PHPUnit_Framework_Test $test:

PHPUnit_Framework_AssertionFailedError $e:

float $time:

File

drupal/core/vendor/doctrine/common/tests/NativePhpunitTask.php, line 174

Class

NativePhpunitPrinter

Code

public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) {
  $this->_messages[] = "Test FAILED: " . $test
    ->getName() . ": " . $e
    ->getMessage();
}