public static function PHPUnit_Util_Test::getLinesToBeUsed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/Test.php \PHPUnit_Util_Test::getLinesToBeUsed()
Returns lines of code specified with the @uses annotation.
@since Method available since Release 4.0.0
Parameters
string $className:
string $methodName:
Return value
array
1 call to PHPUnit_Util_Test::getLinesToBeUsed()
- PHPUnit_Framework_TestResult::run in vendor/
phpunit/ phpunit/ src/ Framework/ TestResult.php - Runs a TestCase.
File
- vendor/
phpunit/ phpunit/ src/ Util/ Test.php, line 96
Class
- PHPUnit_Util_Test
- Test helpers.
Code
public static function getLinesToBeUsed($className, $methodName) {
return self::getLinesToBeCoveredOrUsed($className, $methodName, 'uses');
}