Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/PhutilUnitTestEngine.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Very basic unit test engine which runs libphutil tests. | * Very basic unit test engine which runs libphutil tests. | ||||
| */ | */ | ||||
| final class PhutilUnitTestEngine extends ArcanistUnitTestEngine { | final class PhutilUnitTestEngine extends ArcanistUnitTestEngine { | ||||
| public function getEngineConfigurationName() { | |||||
| return 'phutil'; | |||||
| } | |||||
| protected function supportsRunAllTests() { | protected function supportsRunAllTests() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function run() { | public function run() { | ||||
| if ($this->getRunAllTests()) { | if ($this->getRunAllTests()) { | ||||
| $run_tests = $this->getAllTests(); | $run_tests = $this->getAllTests(); | ||||
| } else { | } else { | ||||
| ▲ Show 20 Lines • Show All 207 Lines • Show Last 20 Lines | |||||