public function PHPUnit_Framework_TestResult::stopOnSkipped

Enables or disables the stopping for skipped tests.

@since Method available since Release 3.1.0

Parameters

boolean $flag:

Throws

PHPUnit_Framework_Exception

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php, line 880

Class

PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.

Code

public function stopOnSkipped($flag) {
  if (is_bool($flag)) {
    $this->stopOnSkipped = $flag;
  }
  else {
    throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
  }
}