You are here

protected function PHP_CodeCoverage_TestCase::getCoverageForFileWithIgnoredLines in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/tests/TestCase.php \PHP_CodeCoverage_TestCase::getCoverageForFileWithIgnoredLines()
1 call to PHP_CodeCoverage_TestCase::getCoverageForFileWithIgnoredLines()
PHP_CodeCoverage_Report_CloverTest::testCloverForFileWithIgnoredLines in vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/CloverTest.php
@covers PHP_CodeCoverage_Report_Clover

File

vendor/phpunit/php-code-coverage/tests/TestCase.php, line 243

Class

PHP_CodeCoverage_TestCase
Abstract base class for test case classes.

Code

protected function getCoverageForFileWithIgnoredLines() {
  $coverage = new PHP_CodeCoverage($this
    ->setUpXdebugStubForFileWithIgnoredLines(), new PHP_CodeCoverage_Filter());
  $coverage
    ->start('FileWithIgnoredLines', true);
  $coverage
    ->stop();
  return $coverage;
}