Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | public function run() { | ||||
return array_mergev($all_results); | return array_mergev($all_results); | ||||
} | } | ||||
public function shouldEchoTestResults() { | public function shouldEchoTestResults() { | ||||
return false; | return false; | ||||
} | } | ||||
private function loadAvailableTestEngines() { | private function loadAvailableTestEngines() { | ||||
return id(new PhutilClassMapQuery()) | return (new PhutilClassMapQuery()) | ||||
->setAncestorClass('ArcanistUnitTestEngine') | ->setAncestorClass('ArcanistUnitTestEngine') | ||||
->setUniqueMethod('getEngineConfigurationName', true) | ->setUniqueMethod('getEngineConfigurationName', true) | ||||
->execute(); | ->execute(); | ||||
} | } | ||||
/** | /** | ||||
* TODO: This is copied from @{class:ArcanistConfigurationDrivenLintEngine}. | * TODO: This is copied from @{class:ArcanistConfigurationDrivenLintEngine}. | ||||
*/ | */ | ||||
Show All 35 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0