XmlResultPrinter
class XmlResultPrinter extends Printer implements TestListener (View source)
Properties
protected bool | $autoFlush | If true, flush output after every write. | from Printer |
protected resource | $out | from Printer | |
protected string | $outTarget | from Printer |
Methods
Details
at line 49
__construct(mixed $out = null)
at line 65
flush()
Flush buffer and close output.
incrementalFlush()
Performs a safe, incremental flush.
Do not confuse this function with the flush() function of this class, since the flush() function may close the file being written to, rendering the current object no longer usable.
setAutoFlush(bool $autoFlush)
Set auto-flushing mode.
If set, incremental flushes will be done after each write. This should not be confused with the different effects of this class' flush() method.
at line 102
addFailure(Test $test, AssertionFailedError $e, float $time)
A failure occurred.