|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JUnitReportWriter
This Interface describes classes that format the results of a JUnit testrun.
| Nested Class Summary | |
|---|---|
static class |
JUnitReportWriter.TestCounts
|
static class |
JUnitReportWriter.TestDescription
|
| Method Summary | |
|---|---|
void |
addError(JUnitReportWriter.TestDescription test,
java.lang.Throwable t)
An error occurred. |
void |
addFailure(JUnitReportWriter.TestDescription test,
java.lang.Throwable t)
A failure occurred. |
void |
endTest(JUnitReportWriter.TestDescription test)
A test ended. |
void |
endTest(JUnitReportWriter.TestDescription test,
long duration)
A test ended. |
JUnitReportWriter.TestCounts |
endTestSuite()
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 |
startTest(JUnitReportWriter.TestDescription test)
A test started. |
void |
startTestSuite(java.lang.String name,
java.util.Properties props)
The whole testsuite started. |
| Method Detail |
|---|
void startTestSuite(java.lang.String name,
java.util.Properties props)
suite - the suite.void setOutput(java.io.OutputStream out)
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.void startTest(JUnitReportWriter.TestDescription test)
void addError(JUnitReportWriter.TestDescription test,
java.lang.Throwable t)
void addFailure(JUnitReportWriter.TestDescription test,
java.lang.Throwable t)
void endTest(JUnitReportWriter.TestDescription test)
void endTest(JUnitReportWriter.TestDescription test,
long duration)
JUnitReportWriter.TestCounts endTestSuite()
suite - the suite.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||