You are here

public function PHP_CodeCoverageTest::testGetLinesToBeIgnoredWhenIgnoreIsDisabled in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php \PHP_CodeCoverageTest::testGetLinesToBeIgnoredWhenIgnoreIsDisabled()

@covers PHP_CodeCoverage::getLinesToBeIgnored

File

vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php, line 475

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

public function testGetLinesToBeIgnoredWhenIgnoreIsDisabled() {
  $this->coverage
    ->setDisableIgnoredLines(true);
  $this
    ->assertEquals(array(), $this
    ->getLinesToBeIgnored()
    ->invoke($this->coverage, TEST_FILES_PATH . 'source_with_ignore.php'));
}