Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistUnitEngine.php
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | return id(new PhutilClassMapQuery()) | ||||
| ->setAncestorClass(__CLASS__) | ->setAncestorClass(__CLASS__) | ||||
| ->setUniqueMethod('getUnitEngineType') | ->setUniqueMethod('getUnitEngineType') | ||||
| ->execute(); | ->execute(); | ||||
| } | } | ||||
| abstract public function runTests(); | abstract public function runTests(); | ||||
| final protected function didRunTests(array $tests) { | final protected function didRunTests(array $tests) { | ||||
| assert_instances_of($tests, 'ArcanistUnitTestResult'); | return $this->getOverseer()->didRunTests($tests); | ||||
| // TOOLSETS: Pass this stuff to result output so it can print progress or | |||||
| // stream results. | |||||
| foreach ($tests as $test) { | |||||
| echo "Ran Test: ".$test->getNamespace().'::'.$test->getName()."\n"; | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| No newline at end of file | No newline at end of file | ||||