public function get_task_names() { $out = array(); foreach ($this->task_locations as $loc) { $out = array_merge($out, PlowFileLocator::get_task_names($loc)); } return $out; }
public function testFindsTaskNames() { $names = PlowFileLocator::get_task_names($this->plow_path); $tasks = array("Test", "Test2", "Test2Other", "Test3"); $this->assertEquals($tasks, $names); }