示例#1
0
文件: plow.php 项目: scottdavis/plow
 public function get_task_names()
 {
     $out = array();
     foreach ($this->task_locations as $loc) {
         $out = array_merge($out, PlowFileLocator::get_task_names($loc));
     }
     return $out;
 }
示例#2
0
 public function testFindsTaskNames()
 {
     $names = PlowFileLocator::get_task_names($this->plow_path);
     $tasks = array("Test", "Test2", "Test2Other", "Test3");
     $this->assertEquals($tasks, $names);
 }