public function PHPUnit_Util_Log_TAP::addSkippedTest

Skipped test.

@since Method available since Release 3.0.0

Parameters

PHPUnit_Framework_Test $test:

Exception $e:

float $time:

Overrides PHPUnit_Framework_TestListener::addSkippedTest

File

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

Class

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

Code

public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  $this
    ->write(sprintf("ok %d - # SKIP%s\n", $this->testNumber, $e
    ->getMessage() != '' ? ' ' . $e
    ->getMessage() : ''));
  $this->testSuccessful = FALSE;
}