public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
final public function __construct()Inherited
this | //Implicit.// |
public function getEngineConfigurationName()
wild |
final public function setRunAllTests($run_all_tests)Inherited
$run_all_tests |
wild |
final public function getRunAllTests()Inherited
wild |
protected function supportsRunAllTests()
wild |
final public function setConfigurationManager($configuration_manager)Inherited
ArcanistConfigurationManager | $configuration_manager |
wild |
final public function getConfigurationManager()Inherited
wild |
final public function setWorkingCopy($working_copy)Inherited
ArcanistWorkingCopyIdentity | $working_copy |
wild |
final public function getWorkingCopy()Inherited
wild |
final public function setPaths($paths)Inherited
array | $paths |
wild |
final public function getPaths()Inherited
wild |
final public function setEnableCoverage($enable_coverage)Inherited
$enable_coverage |
wild |
final public function getEnableCoverage()Inherited
wild |
final public function setRenderer($renderer)Inherited
ArcanistUnitRenderer | $renderer |
wild |
public function run()
wild |
public function shouldEchoTestResults()Inherited
Modify the return value of this function in the child class, if you do 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 while the tests are running.
wild |
private function getAllTests()
wild |
private function getTestsForPaths()
Retrieve all relevant test cases.
Looks for any class that extends PhutilTestCase inside a __tests__ directory in any parent directory of every affected file.
The idea is that "infrastructure/__tests__/" tests defines general tests for all of "infrastructure/", and those tests run for any change in "infrastructure/". However, "infrastructure/concrete/rebar/__tests__/" defines more specific tests that run only when "rebar/" (or some subdirectory) changes.
list<string> | The names of the test case classes to be executed. |
public function getTestPaths()
Returns the paths in which we should look for tests to execute.
list<string> | A list of paths in which to search for test cases. |