public function PHPUnit_Framework_TestResult::errorCount

Gets the number of detected errors.

Return value

integer

File

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

Class

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

Code

public function errorCount() {
  return count($this->errors);
}