JUnitTaskMirror.JUnitResultFormatterMirror
, junit.framework.TestListener
BriefJUnitResultFormatter
, FailureRecorder
, OutErrSummaryJUnitResultFormatter
, PlainJUnitResultFormatter
, SummaryJUnitResultFormatter
, TearDownOnVmCrash
, XMLJUnitResultFormatter
public interface JUnitResultFormatter extends junit.framework.TestListener, JUnitTaskMirror.JUnitResultFormatterMirror
Modifier and Type | Method | Description |
---|---|---|
void |
endTestSuite(JUnitTest suite) |
The whole testsuite ended.
|
void |
setOutput(java.io.OutputStream out) |
Sets the stream the formatter is supposed to write its results to.
|
void |
setSystemError(java.lang.String err) |
This is what the test has written to System.err
|
void |
setSystemOutput(java.lang.String out) |
This is what the test has written to System.out
|
void |
startTestSuite(JUnitTest suite) |
The whole testsuite started.
|
void startTestSuite(JUnitTest suite) throws BuildException
suite
- the suite.BuildException
- on error.void endTestSuite(JUnitTest suite) throws BuildException
suite
- the suite.BuildException
- on error.void setOutput(java.io.OutputStream out)
setOutput
in interface JUnitTaskMirror.JUnitResultFormatterMirror
out
- the output stream to use.void setSystemOutput(java.lang.String out)
out
- the string to write.void setSystemError(java.lang.String err)
err
- the string to write.