EarlReport
- Full name:
\EarlReport
- Parent class:
PHPUnit_Util_Printer
- This class implements:
\PHPUnit_Framework_TestListener
Methods
__construct
attach
Attaches to the given test result, if not yet attached.
Parameters:
Parameter | Type | Description |
---|---|---|
$result |
\PHPUnit_Framework_Test | the result to attach to. |
addAssertion
Adds an assertion to this EARL report.
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\JsonLdTest | the JsonLdTest for the assertion is for. |
$passed |
bool | whether or not the test passed. |
flush
Writes this EARL report to a file.
endTest
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$time |
mixed |
addError
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$e |
\Exception | |
$time |
mixed |
addFailure
public addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, mixed $time): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$e |
\PHPUnit_Framework_AssertionFailedError | |
$time |
mixed |
addIncompleteTest
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$e |
\Exception | |
$time |
mixed |
addRiskyTest
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$e |
\Exception | |
$time |
mixed |
addSkippedTest
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test | |
$e |
\Exception | |
$time |
mixed |
startTest
Parameters:
Parameter | Type | Description |
---|---|---|
$test |
\PHPUnit_Framework_Test |
startTestSuite
Parameters:
Parameter | Type | Description |
---|---|---|
$suite |
\PHPUnit_Framework_TestSuite |
endTestSuite
Parameters:
Parameter | Type | Description |
---|---|---|
$suite |
\PHPUnit_Framework_TestSuite |
Automatically generated on 2025-03-18