|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JUnitResultFormatter
This Interface describes classes that format the results of a JUnit testrun.
Method Summary | |
---|---|
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. |
Methods inherited from interface junit.framework.TestListener |
---|
addError, addFailure, endTest, startTest |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |