Interface JUnitResultFormatter
- All Superinterfaces:
- JUnitTaskMirror.JUnitResultFormatterMirror,- junit.framework.TestListener
- All Known Implementing Classes:
- BriefJUnitResultFormatter,- FailureRecorder,- OutErrSummaryJUnitResultFormatter,- PlainJUnitResultFormatter,- SummaryJUnitResultFormatter,- TearDownOnVmCrash,- XMLJUnitResultFormatter
public interface JUnitResultFormatter
extends junit.framework.TestListener, JUnitTaskMirror.JUnitResultFormatterMirror
This Interface describes classes that format the results of a JUnit
 testrun.
- 
Method SummaryModifier and TypeMethodDescriptionvoidendTestSuite(JUnitTest suite) The whole testsuite ended.voidsetOutput(OutputStream out) Sets the stream the formatter is supposed to write its results to.voidsetSystemError(String err) This is what the test has written to System.errvoidsetSystemOutput(String out) This is what the test has written to System.outvoidstartTestSuite(JUnitTest suite) The whole testsuite started.Methods inherited from interface junit.framework.TestListeneraddError, addFailure, endTest, startTest
- 
Method Details- 
startTestSuiteThe whole testsuite started.- Parameters:
- suite- the suite.
- Throws:
- BuildException- on error.
 
- 
endTestSuiteThe whole testsuite ended.- Parameters:
- suite- the suite.
- Throws:
- BuildException- on error.
 
- 
setOutputSets the stream the formatter is supposed to write its results to.- Specified by:
- setOutputin interface- JUnitTaskMirror.JUnitResultFormatterMirror
- Parameters:
- out- the output stream to use.
 
- 
setSystemOutputThis is what the test has written to System.out- Parameters:
- out- the string to write.
 
- 
setSystemErrorThis is what the test has written to System.err- Parameters:
- err- the string to write.
 
 
-