Commit | Line | Data |
---|---|---|
f03dc6b0 TO |
1 | <?php |
2 | namespace Civi\CiUtil\Command; | |
3 | ||
b896fa44 EM |
4 | /** |
5 | * Class LsCommand | |
6 | * | |
7 | * @package Civi\CiUtil\Command | |
8 | */ | |
f03dc6b0 | 9 | class LsCommand { |
7fe37828 EM |
10 | /** |
11 | * @param $argv | |
12 | */ | |
00be9182 | 13 | public static function main($argv) { |
f03dc6b0 TO |
14 | $paths = $argv; |
15 | array_shift($paths); | |
16 | foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) { | |
17 | printf("%s %s %s\n", $test['file'], $test['class'], $test['method']); | |
18 | } | |
19 | } | |
96025800 | 20 | |
ef10e0b5 | 21 | } |