Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter
public class SummaryJUnitResultFormatter
extends java.lang.Object
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void addError(Test test, Throwable t)
Empty
- Parameters:
test
- not used.t
- not used.
public void addFailure(Test test, AssertionFailedError t)
Interface TestListener for JUnit > 3.4. A Test failed.
- Parameters:
test
- not used.t
- not used.
public void addFailure(Test test, Throwable t)
Empty
- Parameters:
test
- not used.t
- not used.
public void endTest(Test test)
Empty
- Parameters:
test
- not used.
public void endTestSuite(JUnitTest suite) throws BuildException
The whole testsuite ended.
- Specified by:
- endTestSuite in interface JUnitResultFormatter
- Parameters:
suite
- the testsuite.
- Throws:
BuildException
- if there is an error.
public void setOutput(OutputStream out)
.
- Specified by:
- setOutput in interface JUnitResultFormatter
- setOutput in interface JUnitTaskMirror.JUnitResultFormatterMirror
public void setSystemError(String err)
.
- Specified by:
- setSystemError in interface JUnitResultFormatter
public void setSystemOutput(String out)
.
- Specified by:
- setSystemOutput in interface JUnitResultFormatter
public void setWithOutAndErr(boolean value)
Should the output to System.out and System.err be written to the summary.
- Specified by:
- setWithOutAndErr in interface JUnitTaskMirror.SummaryJUnitResultFormatterMirror
- Parameters:
value
- if true write System.out and System.err to the summary.
public void startTest(Test t)
Empty
- Parameters:
t
- not used.
public void startTestSuite(JUnitTest suite)
The testsuite started.
- Specified by:
- startTestSuite in interface JUnitResultFormatter
- Parameters:
suite
- the testsuite.