ResultPrinter
extends
TestListener
in
This interface, as well as the associated mechanism for extending PHPUnit, will be removed in PHPUnit 10. There is no alternative available in this version of PHPUnit.
Tags
Table of Contents
- addError() : void
- addFailure() : void
- addIncompleteTest() : void
- addRiskyTest() : void
- addSkippedTest() : void
- addWarning() : void
- endTest() : void
- endTestSuite() : void
- printResult() : void
- startTest() : void
- startTestSuite() : void
- write() : void
Methods
addError()
public
addError(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addFailure()
public
addFailure(Test $test, AssertionFailedError $e, float $time) : void
Parameters
- $test : Test
- $e : AssertionFailedError
- $time : float
Return values
void —addIncompleteTest()
public
addIncompleteTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addRiskyTest()
public
addRiskyTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addSkippedTest()
public
addSkippedTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addWarning()
public
addWarning(Test $test, Warning $e, float $time) : void
Parameters
- $test : Test
- $e : Warning
- $time : float
Return values
void —endTest()
public
endTest(Test $test, float $time) : void
Parameters
- $test : Test
- $time : float
Return values
void —endTestSuite()
public
endTestSuite(TestSuite $suite) : void
Parameters
- $suite : TestSuite
Return values
void —printResult()
public
printResult(TestResult $result) : void
Parameters
- $result : TestResult
Return values
void —startTest()
public
startTest(Test $test) : void
Parameters
- $test : Test
Return values
void —startTestSuite()
public
startTestSuite(TestSuite $suite) : void
Parameters
- $suite : TestSuite
Return values
void —write()
public
write(string $buffer) : void
Parameters
- $buffer : string