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 setNamespace($namespace)
public function setNamespace($namespace)
Parameters
$namespace |
Return
wild |
public function getNamespace()
public function getNamespace()
Return
wild |
public function setName($name)
public function setName($name)
Parameters
$name |
Return
wild |
public function getName()
public function getName()
Return
wild |
public function setLink($link)
public function setLink($link)
Parameters
$link |
Return
wild |
public function getLink()
public function getLink()
Return
wild |
public function setResult($result)
public function setResult($result)
Parameters
$result |
Return
wild |
public function getResult()
public function getResult()
Return
wild |
public function setDuration($duration)
public function setDuration($duration)
Set the number of seconds spent executing this test.
Reporting this information can help users identify slow tests and reduce the total cost of running a test suite.
Callers should pass an integer or a float. For example, pass 3 for 3 seconds, or 0.125 for 125 milliseconds.
Parameters
int|float | $duration | Duration, in seconds. |
Return
this |
public function getDuration()
public function getDuration()
Return
wild |
public function setUserData($user_data)
public function setUserData($user_data)
Parameters
$user_data |
Return
wild |
public function getUserData()
public function getUserData()
Return
wild |
public function setExtraData($extra_data)
public function setExtraData($extra_data)
"extra data" allows an implementation to store additional key/value metadata along with the result of the test run.
Parameters
array | $extra_data |
Return
wild |
public function getExtraData()
public function getExtraData()
Return
wild |
public function setCoverage($coverage)
public function setCoverage($coverage)
Parameters
$coverage |
Return
wild |
public function getCoverage()
public function getCoverage()
Return
wild |
public static function mergeCoverage($coverage)
public static function mergeCoverage($coverage)
Merge several coverage reports into a comprehensive coverage report.
Parameters
list | $coverage | List of coverage report strings. |
Return
string | Cumulative coverage report. |
public function toDictionary()
public function toDictionary()
Return
wild |
public static function getAllResultCodes()
public static function getAllResultCodes()
Return
wild |
public static function getResultCodeName($result_code)
public static function getResultCodeName($result_code)
Parameters
$result_code |
Return
wild |
public static function getResultCodeDescription($result_code)
public static function getResultCodeDescription($result_code)
Parameters
$result_code |
Return
wild |
private static function getResultCodeSpec($result_code)
private static function getResultCodeSpec($result_code)
Parameters
$result_code |
Return
wild |
private static function getResultCodeSpecs()
private static function getResultCodeSpecs()
Return
wild |