You are here

public function PHPUnit_Framework_TestResult::getCollectCodeCoverageInformation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::getCollectCodeCoverageInformation()

Returns whether code coverage information should be collected.

@since Method available since Release 3.2.0

Return value

bool If code coverage should be collected

File

vendor/phpunit/phpunit/src/Framework/TestResult.php, line 521

Class

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

Code

public function getCollectCodeCoverageInformation() {
  return $this->codeCoverage !== null;
}