You are here

public function PHP_CodeCoverageTest::testGetLinesToBeIgnored in Zircon Profile 8

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

@covers PHP_CodeCoverage::getLinesToBeIgnored

File

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

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

public function testGetLinesToBeIgnored() {
  $this
    ->assertEquals(array(
    1,
    3,
    4,
    5,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    30,
    32,
    33,
    34,
    35,
    36,
    37,
    38,
  ), $this
    ->getLinesToBeIgnored()
    ->invoke($this->coverage, TEST_FILES_PATH . 'source_with_ignore.php'));
}