You are here

public function Util_TestTest::getLinesToBeCoveredProvider in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::getLinesToBeCoveredProvider()

File

vendor/phpunit/phpunit/tests/Util/TestTest.php, line 568

Class

Util_TestTest
@since Class available since Release 3.3.6

Code

public function getLinesToBeCoveredProvider() {
  return array(
    array(
      'CoverageNoneTest',
      array(),
    ),
    array(
      'CoverageClassExtendedTest',
      array_merge(range(19, 36), range(2, 17)),
    ),
    array(
      'CoverageClassTest',
      range(19, 36),
    ),
    array(
      'CoverageMethodTest',
      range(31, 35),
    ),
    array(
      'CoverageMethodOneLineAnnotationTest',
      range(31, 35),
    ),
    array(
      'CoverageNotPrivateTest',
      array_merge(range(25, 29), range(31, 35)),
    ),
    array(
      'CoverageNotProtectedTest',
      array_merge(range(21, 23), range(31, 35)),
    ),
    array(
      'CoverageNotPublicTest',
      array_merge(range(21, 23), range(25, 29)),
    ),
    array(
      'CoveragePrivateTest',
      range(21, 23),
    ),
    array(
      'CoverageProtectedTest',
      range(25, 29),
    ),
    array(
      'CoveragePublicTest',
      range(31, 35),
    ),
    array(
      'CoverageFunctionTest',
      range(2, 4),
    ),
    array(
      'NamespaceCoverageClassExtendedTest',
      array_merge(range(21, 38), range(4, 19)),
    ),
    array(
      'NamespaceCoverageClassTest',
      range(21, 38),
    ),
    array(
      'NamespaceCoverageMethodTest',
      range(33, 37),
    ),
    array(
      'NamespaceCoverageNotPrivateTest',
      array_merge(range(27, 31), range(33, 37)),
    ),
    array(
      'NamespaceCoverageNotProtectedTest',
      array_merge(range(23, 25), range(33, 37)),
    ),
    array(
      'NamespaceCoverageNotPublicTest',
      array_merge(range(23, 25), range(27, 31)),
    ),
    array(
      'NamespaceCoveragePrivateTest',
      range(23, 25),
    ),
    array(
      'NamespaceCoverageProtectedTest',
      range(27, 31),
    ),
    array(
      'NamespaceCoveragePublicTest',
      range(33, 37),
    ),
    array(
      'NamespaceCoverageCoversClassTest',
      array_merge(range(23, 25), range(27, 31), range(33, 37), range(6, 8), range(10, 13), range(15, 18)),
    ),
    array(
      'NamespaceCoverageCoversClassPublicTest',
      range(33, 37),
    ),
    array(
      'CoverageNothingTest',
      false,
    ),
  );
}