Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistUnitTestEngine.php
| Show All 10 Lines | abstract class ArcanistUnitTestEngine extends Phobject { | ||||
| private $enableAsyncTests; | private $enableAsyncTests; | ||||
| private $enableCoverage; | private $enableCoverage; | ||||
| private $runAllTests; | private $runAllTests; | ||||
| private $configurationManager; | private $configurationManager; | ||||
| protected $renderer; | protected $renderer; | ||||
| final public function __construct() {} | final public function __construct() {} | ||||
| public function getEngineConfigurationName() { | |||||
| return null; | |||||
| } | |||||
| final public function setRunAllTests($run_all_tests) { | final public function setRunAllTests($run_all_tests) { | ||||
| if (!$this->supportsRunAllTests() && $run_all_tests) { | if (!$this->supportsRunAllTests() && $run_all_tests) { | ||||
| throw new Exception( | throw new Exception( | ||||
| pht( | pht( | ||||
| "Engine '%s' does not support %s.", | "Engine '%s' does not support %s.", | ||||
| get_class($this), | get_class($this), | ||||
| '--everything')); | '--everything')); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines | |||||