You are here

public function PHPUnit_Util_TestDox_ResultPrinter::addSkippedTest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php \PHPUnit_Util_TestDox_ResultPrinter::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

vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php, line 174

Class

PHPUnit_Util_TestDox_ResultPrinter
Base class for printers of TestDox documentation.

Code

public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  if (!$this
    ->isOfInterest($test)) {
    return;
  }
  $this->testStatus = PHPUnit_Runner_BaseTestRunner::STATUS_SKIPPED;
  $this->skipped++;
}