Report
extends ResultPrinter
in package
implements
ConsolePrinter
Table of Contents
Interfaces
- ConsolePrinter
- Printer implementing this interface prints output to console, thus should be marked as printer and not just a logger
Methods
- addError() : void
- An error occurred.
- addFailure() : void
- A failure occurred.
- addIncompleteTest() : void
- Incomplete test.
- addRiskyTest() : void
- Risky test.
- addSkippedTest() : void
- Skipped test.
- addWarning() : void
- A warning occurred.
- endTest() : void
- printResult() : void
- startTest() : void
- write() : void
- endRun() : void
Methods
addError()
An error occurred.
public
addError(Test $test, Throwable $e, float $time) : void
Parameters
addFailure()
A failure occurred.
public
addFailure(Test $test, AssertionFailedError $e, float $time) : void
Parameters
- $test : Test
- $e : AssertionFailedError
- $time : float
addIncompleteTest()
Incomplete test.
public
addIncompleteTest(Test $test, Throwable $e, float $time) : void
Parameters
addRiskyTest()
Risky test.
public
addRiskyTest(Test $test, Throwable $e, float $time) : void
Parameters
Tags
addSkippedTest()
Skipped test.
public
addSkippedTest(Test $test, Throwable $e, float $time) : void
Parameters
Tags
addWarning()
A warning occurred.
public
addWarning(Test $test, Warning $e, float $time) : void
Parameters
- $test : Test
- $e : Warning
- $time : float
endTest()
public
endTest(Test $test, float $time) : void
Parameters
- $test : Test
- $time : float
printResult()
public
printResult(TestResult $result) : void
Parameters
- $result : TestResult
startTest()
public
startTest(Test $test) : void
Parameters
- $test : Test
write()
public
write(string $buffer) : void
Parameters
- $buffer : string
endRun()
protected
endRun() : void