Documentation

PHP_CodeCoverage_Report_XML_Tests
in package

Tags
since

Class available since Release 2.0.0

Table of Contents

$codeMap  : mixed
$contextNode  : mixed
__construct()  : mixed
addTest()  : mixed

Properties

$codeMap

private mixed $codeMap = array( 0 => 'PASSED', // PHPUnit_Runner_BaseTestRunner::STATUS_PASSED 1 => 'SKIPPED', // PHPUnit_Runner_BaseTestRunner::STATUS_SKIPPED 2 => 'INCOMPLETE', // PHPUnit_Runner_BaseTestRunner::STATUS_INCOMPLETE 3 => 'FAILURE', // PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE 4 => 'ERROR', // PHPUnit_Runner_BaseTestRunner::STATUS_ERROR 5 => 'RISKY', )

$contextNode

private mixed $contextNode

Methods

__construct()

public __construct(DOMElement $context) : mixed
Parameters
$context : DOMElement
Return values
mixed

addTest()

public addTest(mixed $test, array<string|int, mixed> $result) : mixed
Parameters
$test : mixed
$result : array<string|int, mixed>
Return values
mixed

Search results