Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistUnitTestEngine.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Manages unit test execution. | * Manages unit test execution. | ||||
| */ | */ | ||||
| abstract class ArcanistUnitTestEngine { | abstract class ArcanistUnitTestEngine { | ||||
| private $workingCopy; | private $workingCopy; | ||||
| private $paths; | private $paths; // TODO deprecate | ||||
| private $pathsMap; | |||||
| private $arguments = array(); | private $arguments = array(); | ||||
| protected $diffID; | protected $diffID; | ||||
| private $enableAsyncTests; | private $enableAsyncTests; | ||||
| private $enableCoverage; | private $enableCoverage; | ||||
| private $runAllTests; | private $runAllTests; | ||||
| protected $renderer; | protected $renderer; | ||||
| ▲ Show 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | abstract class ArcanistUnitTestEngine { | ||||
| * not need to echo the test results after all the tests have been run. This | * not need to echo the test results after all the tests have been run. This | ||||
| * is the case for example when the child class prints the tests results | * is the case for example when the child class prints the tests results | ||||
| * while the tests are running. | * while the tests are running. | ||||
| */ | */ | ||||
| public function shouldEchoTestResults() { | public function shouldEchoTestResults() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function setPathsMap($paths_map) { | |||||
| $this->pathsMap = $paths_map; | |||||
| return $this; | |||||
| } | |||||
| public function getPathsMap() { | |||||
| return $this->pathsMap; | |||||
| } | |||||
| public function getEngineConfigurationName() { | |||||
| return null; | |||||
| } | |||||
| public function getEngineConfigurationOptions() { | |||||
| return array(); | |||||
| } | |||||
| public function setUnitConfigurationValue($key, $value) {} | |||||
| } | } | ||||