- All implemented interfaces:
-
PHPUnit_Framework_TestListener
Prints TestDox documentation in text format.
Method Summary
Inherited Method Summary
Name |
Description |
__construct($out = null) | Constructor. (from PHPUnit_Util_TestDox_ResultPrinter) |
flush() | Flush buffer and close output. (from PHPUnit_Util_TestDox_ResultPrinter) |
getAutoFlush() | Check auto-flush mode. (from PHPUnit_Util_Printer) |
incrementalFlush() | Performs a safe, incremental flush. (from PHPUnit_Util_Printer) |
setAutoFlush($autoFlush) | Set auto-flushing mode. (from PHPUnit_Util_Printer) |
write($buffer) | (from PHPUnit_Util_Printer) |
addError(PHPUnit_Framework_Test $test, Exception $e, $time) | An error occurred. (from PHPUnit_Util_TestDox_ResultPrinter) |
addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) | A failure occurred. (from PHPUnit_Util_TestDox_ResultPrinter) |
addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) | Incomplete test. (from PHPUnit_Util_TestDox_ResultPrinter) |
addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) | Risky test. (from PHPUnit_Util_TestDox_ResultPrinter) |
addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) | Skipped test. (from PHPUnit_Util_TestDox_ResultPrinter) |
doEndClass() | (from PHPUnit_Util_TestDox_ResultPrinter) |
endRun() | Handler for 'end run' event. (from PHPUnit_Util_TestDox_ResultPrinter) |
endTest(PHPUnit_Framework_Test $test, $time) | A test ended. (from PHPUnit_Util_TestDox_ResultPrinter) |
endTestSuite(PHPUnit_Framework_TestSuite $suite) | A testsuite ended. (from PHPUnit_Util_TestDox_ResultPrinter) |
startRun() | Handler for 'start run' event. (from PHPUnit_Util_TestDox_ResultPrinter) |
startTest(PHPUnit_Framework_Test $test) | A test started. (from PHPUnit_Util_TestDox_ResultPrinter) |
startTestSuite(PHPUnit_Framework_TestSuite $suite) | A testsuite started. (from PHPUnit_Util_TestDox_ResultPrinter) |
protected function
endClass($name)
Handler for 'end class' event.
- Overrides:
- endClass($name)
- Parameters:
string
- $name
protected function
onTest($name, $success = true)
Handler for 'on test' event.
- Overrides:
- onTest($name, $success = true)
- Parameters:
string
- $name
boolean
- $success
- Defaults:
success
= true
protected function
startClass($name)
Handler for 'start class' event.
- Overrides:
- startClass($name)
- Parameters:
string
- $name