protected function PHPUnit_Util_Log_TAP::writeNotOk

Parameters

PHPUnit_Framework_Test $test:

string $prefix:

string $directive:

3 calls to PHPUnit_Util_Log_TAP::writeNotOk()

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Log/TAP.php, line 235

Class

PHPUnit_Util_Log_TAP
A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).

Code

protected function writeNotOk(PHPUnit_Framework_Test $test, $prefix = '', $directive = '') {
  $this
    ->write(sprintf("not ok %d - %s%s%s\n", $this->testNumber, $prefix != '' ? $prefix . ': ' : '', PHPUnit_Util_Test::describe($test), $directive != '' ? ' # ' . $directive : ''));
  $this->testSuccessful = FALSE;
}