|
Lggr
|


Public Member Functions | |
| __construct ($out=null, array $groups=[], array $excludeGroups=[]) | |
| flush () | |
| addError (Test $test, \Exception $e, $time) | |
| addWarning (Test $test, Warning $e, $time) | |
| addFailure (Test $test, AssertionFailedError $e, $time) | |
| addIncompleteTest (Test $test, \Exception $e, $time) | |
| addRiskyTest (Test $test, \Exception $e, $time) | |
| addSkippedTest (Test $test, \Exception $e, $time) | |
| startTestSuite (TestSuite $suite) | |
| endTestSuite (TestSuite $suite) | |
| startTest (Test $test) | |
| endTest (Test $test, $time) | |
Public Member Functions inherited from PHPUnit\Util\Printer | |
| __construct ($out=null) | |
| incrementalFlush () | |
| write ($buffer) | |
| getAutoFlush () | |
| setAutoFlush ($autoFlush) | |
Public Member Functions inherited from PHPUnit\Framework\TestListener | |
| addWarning (Test $test, Warning $e, $time) | |
Protected Member Functions | |
| doEndClass () | |
| startRun () | |
| startClass ($name) | |
| onTest ($name, $success=true) | |
| endClass ($name) | |
| endRun () | |
Protected Attributes | |
| $prettifier | |
| $testClass = '' | |
| $testStatus | |
| $tests = [] | |
| $successful = 0 | |
| $warned = 0 | |
| $failed = 0 | |
| $risky = 0 | |
| $skipped = 0 | |
| $incomplete = 0 | |
| $currentTestClassPrettified | |
| $currentTestMethodPrettified | |
Protected Attributes inherited from PHPUnit\Util\Printer | |
| $autoFlush = false | |
| $out | |
| $outTarget | |
Base class for printers of TestDox documentation.
| PHPUnit\Util\TestDox\ResultPrinter::__construct | ( | $out = null, |
|
| array | $groups = [], |
||
| array | $excludeGroups = [] |
||
| ) |
| resource | $out | |
| array | $groups | |
| array | $excludeGroups |
An error occurred.
| Test | $test | |
| \Exception | $e | |
| float | $time |
Implements PHPUnit\Framework\TestListener.
| PHPUnit\Util\TestDox\ResultPrinter::addFailure | ( | Test | $test, |
| AssertionFailedError | $e, | ||
| $time | |||
| ) |
A failure occurred.
| Test | $test | |
| AssertionFailedError | $e | |
| float | $time |
Implements PHPUnit\Framework\TestListener.
Incomplete test.
| Test | $test | |
| \Exception | $e | |
| float | $time |
Implements PHPUnit\Framework\TestListener.
Skipped test.
| Test | $test | |
| \Exception | $e | |
| float | $time |
Implements PHPUnit\Framework\TestListener.
|
protected |
Handler for 'end class' event.
| string | $name |
Reimplemented in PHPUnit\Util\TestDox\HtmlResultPrinter, and PHPUnit\Util\TestDox\TextResultPrinter.
|
protected |
Handler for 'end run' event.
Reimplemented in PHPUnit\Util\TestDox\HtmlResultPrinter.
| PHPUnit\Util\TestDox\ResultPrinter::endTest | ( | Test | $test, |
| $time | |||
| ) |
| PHPUnit\Util\TestDox\ResultPrinter::endTestSuite | ( | TestSuite | $suite | ) |
| PHPUnit\Util\TestDox\ResultPrinter::flush | ( | ) |
Flush buffer and close output.
Reimplemented from PHPUnit\Util\Printer.
|
protected |
Handler for 'on test' event.
| string | $name | |
| bool | $success |
Reimplemented in PHPUnit\Util\TestDox\HtmlResultPrinter, and PHPUnit\Util\TestDox\TextResultPrinter.
|
protected |
Handler for 'start class' event.
| string | $name |
Reimplemented in PHPUnit\Util\TestDox\HtmlResultPrinter, and PHPUnit\Util\TestDox\TextResultPrinter.
|
protected |
Handler for 'start run' event.
Reimplemented in PHPUnit\Util\TestDox\HtmlResultPrinter.
| PHPUnit\Util\TestDox\ResultPrinter::startTest | ( | Test | $test | ) |
| PHPUnit\Util\TestDox\ResultPrinter::startTestSuite | ( | TestSuite | $suite | ) |
1.8.17