public function PHPUnit_Util_Log_JSON::addSkippedTest

Skipped test.

Parameters

PHPUnit_Framework_Test $test:

Exception $e:

float $time:

Overrides PHPUnit_Framework_TestListener::addSkippedTest

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Log/JSON.php, line 142

Class

PHPUnit_Util_Log_JSON
A TestListener that generates JSON messages.

Code

public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  $this
    ->writeCase('error', $time, PHPUnit_Util_Filter::getFilteredStacktrace($e, FALSE), 'Skipped Test: ' . $e
    ->getMessage(), $test);
  $this->currentTestPass = FALSE;
}