You are here

public function Util_TestTest::testNamespacedFunctionCanBeCoveredOrUsed in Zircon Profile 8.0

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

@covers PHPUnit_Util_Test::getLinesToBeCovered @covers PHPUnit_Util_Test::getLinesToBeCoveredOrUsed

File

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

Class

Util_TestTest
@since Class available since Release 3.3.6

Code

public function testNamespacedFunctionCanBeCoveredOrUsed() {
  $this
    ->assertEquals(array(
    TEST_FILES_PATH . 'NamespaceCoveredFunction.php' => range(4, 7),
  ), PHPUnit_Util_Test::getLinesToBeCovered('CoverageNamespacedFunctionTest', 'testFunc'));
}