First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
21
sites/all/modules/civicrm/Civi/CiUtil/Command/LsCommand.php
Normal file
21
sites/all/modules/civicrm/Civi/CiUtil/Command/LsCommand.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
namespace Civi\CiUtil\Command;
|
||||
|
||||
/**
|
||||
* Class LsCommand
|
||||
*
|
||||
* @package Civi\CiUtil\Command
|
||||
*/
|
||||
class LsCommand {
|
||||
/**
|
||||
* @param $argv
|
||||
*/
|
||||
public static function main($argv) {
|
||||
$paths = $argv;
|
||||
array_shift($paths);
|
||||
foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) {
|
||||
printf("%s %s %s\n", $test['file'], $test['class'], $test['method']);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue