public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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 | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setEnableCoverage($enable_coverage)Inherited
public function setEnableCoverage($enable_coverage)
Inherited
Parameters
$enable_coverage |
Return
wild |
public function setProjectRoot($project_root)Inherited
public function setProjectRoot($project_root)
Inherited
Parameters
$project_root |
Return
wild |
public function setCoverageFile($coverage_file)Inherited
public function setCoverageFile($coverage_file)
Inherited
Parameters
$coverage_file |
Return
wild |
public function setAffectedTests($affected_tests)Inherited
public function setAffectedTests($affected_tests)
Inherited
Parameters
$affected_tests |
Return
wild |
public function setStderr($stderr)Inherited
public function setStderr($stderr)
Inherited
Parameters
$stderr |
Return
wild |
public function parseTestResults($path, $test_results)
public function parseTestResults($path, $test_results)
ArcanistTestResultParser
Parse test results from provided input and return an array of ArcanistUnitTestResult.
ArcanistPhpunitTestResultParser
Parse test results from phpunit json report
Parameters
string | $path | Path to test. |
string | $test_results | String containing test results. |
Return
array |
private function readCoverage()
private function readCoverage()
Read the coverage from phpunit generated clover report
Return
array |
private function getJsonReport($json)
private function getJsonReport($json)
We need this non-sense to make json generated by phpunit valid.
Parameters
string | $json | String containing JSON report |
Return
array | JSON decoded array |