Class OutErrSummaryJUnitResultFormatter
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter
org.apache.tools.ant.taskdefs.optional.junit.OutErrSummaryJUnitResultFormatter
- All Implemented Interfaces:
junit.framework.TestListener, JUnitResultFormatter, JUnitTaskMirror.JUnitResultFormatterMirror, JUnitTaskMirror.SummaryJUnitResultFormatterMirror
Used instead of SummaryJUnitResultFormatter in forked tests if
withOutAndErr is requested.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SummaryJUnitResultFormatter
addError, addFailure, addFailure, endTest, endTestSuite, setOutput, setSystemError, setSystemOutput, setWithOutAndErr, startTest, startTestSuiteModifier and TypeMethodDescriptionvoidEmptyvoidaddFailure(junit.framework.Test test, Throwable t) EmptyvoidaddFailure(junit.framework.Test test, junit.framework.AssertionFailedError t) Interface TestListener for JUnit > 3.4.voidendTest(junit.framework.Test test) EmptyvoidendTestSuite(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.outvoidsetWithOutAndErr(boolean value) Should the output to System.out and System.err be written to the summary.voidstartTest(junit.framework.Test t) EmptyvoidstartTestSuite(JUnitTest suite) The testsuite started.
-
Constructor Details
-
OutErrSummaryJUnitResultFormatter
public OutErrSummaryJUnitResultFormatter()Empty
-