You are here

private function PHP_CodeCoverage_Report_XML::processTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php \PHP_CodeCoverage_Report_XML::processTests()
1 call to PHP_CodeCoverage_Report_XML::processTests()
PHP_CodeCoverage_Report_XML::process in vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php, line 189

Class

PHP_CodeCoverage_Report_XML
@since Class available since Release 2.0.0

Code

private function processTests(array $tests) {
  $testsObject = $this->project
    ->getTests();
  foreach ($tests as $test => $result) {
    if ($test == 'UNCOVERED_FILES_FROM_WHITELIST') {
      continue;
    }
    $testsObject
      ->addTest($test, $result);
  }
}