Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistUnitTestEngine.php
| Show All 12 Lines | abstract class ArcanistUnitTestEngine extends Phobject { | ||||
| protected $renderer; | protected $renderer; | ||||
| final public function __construct() {} | final public function __construct() {} | ||||
| public function getEngineConfigurationName() { | public function getEngineConfigurationName() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| public function getEngineConfigurationOptions() { | |||||
| return array(); | |||||
| } | |||||
| public function setEngineConfigurationValue($key, $value) { | |||||
| throw new Exception(pht('Incomplete implementation: %s!', $key)); | |||||
| } | |||||
| 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 70 Lines • Show Last 20 Lines | |||||