Page MenuHomePhorge
Diviner libphutil Tech Docs ArcanistUnitTestEngine

abstract class ArcanistUnitTestEngine
libphutil Technical Documentation ()

Manages unit test execution.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

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.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

final public function __construct()

This method is not documented.
Return
this//Implicit.//

public function getEngineConfigurationName()

This method is not documented.
Return
wild

final public function setRunAllTests($run_all_tests)

This method is not documented.
Parameters
$run_all_tests
Return
wild

final public function getRunAllTests()

This method is not documented.
Return
wild

protected function supportsRunAllTests()

This method is not documented.
Return
wild

final public function setConfigurationManager($configuration_manager)

This method is not documented.
Parameters
ArcanistConfigurationManager$configuration_manager
Return
wild

final public function getConfigurationManager()

This method is not documented.
Return
wild

final public function setWorkingCopy($working_copy)

This method is not documented.
Parameters
ArcanistWorkingCopyIdentity$working_copy
Return
wild

final public function getWorkingCopy()

This method is not documented.
Return
wild

final public function setPaths($paths)

This method is not documented.
Parameters
array$paths
Return
wild

final public function getPaths()

This method is not documented.
Return
wild

final public function setEnableCoverage($enable_coverage)

This method is not documented.
Parameters
$enable_coverage
Return
wild

final public function getEnableCoverage()

This method is not documented.
Return
wild

final public function setRenderer($renderer)

This method is not documented.
Parameters
ArcanistUnitRenderer$renderer
Return
wild

abstract public function run()

This method is not documented.
Return
wild

public function shouldEchoTestResults()

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.

Return
wild