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 |