| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private Document | doc
The XML document. |
| private int | |
| private Set | failedTests
tests that failed. |
| private int | |
| private boolean | |
| private OutputStream | out
Where to write the log to. |
| private Element | rootElement
The wrapper for the whole testsuite. |
| private int | |
| private long | |
| private Map | testElements
Element for the current test. |
| private Map | testStarts
Timing helper. |
| private static final String | UNKNOWN
constant for unnnamed testsuites/cases |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| DEFAULT_TRACE_FILTERS | back to summary |
|---|---|
| private static final String[] DEFAULT_TRACE_FILTERS | |
| doc | back to summary |
|---|---|
| private Document doc The XML document. | |
| errorCount | back to summary |
|---|---|
| private int errorCount | |
| failedTests | back to summary |
|---|---|
| private Set<JUnitReportWriter. tests that failed. | |
| failureCount | back to summary |
|---|---|
| private int failureCount | |
| filterTrace | back to summary |
|---|---|
| private boolean filterTrace | |
| out | back to summary |
|---|---|
| private OutputStream out Where to write the log to. | |
| rootElement | back to summary |
|---|---|
| private Element rootElement The wrapper for the whole testsuite. | |
| runCount | back to summary |
|---|---|
| private int runCount | |
| startTime | back to summary |
|---|---|
| private long startTime | |
| testElements | back to summary |
|---|---|
| private Map<JUnitReportWriter. Element for the current test. | |
| testStarts | back to summary |
|---|---|
| private Map<JUnitReportWriter. Timing helper. | |
| UNKNOWN | back to summary |
|---|---|
| private static final String UNKNOWN constant for unnnamed testsuites/cases | |
| XMLJUnitReportWriter | back to summary |
|---|---|
| public XMLJUnitReportWriter() No arg constructor. | |
| XMLJUnitReportWriter | back to summary |
|---|---|
| public XMLJUnitReportWriter(boolean filter) | |
| addError | back to summary |
|---|---|
| public void addError(JUnitReportWriter. Implements org. Doc from org. An error occurred.
| |
| addFailure | back to summary |
|---|---|
| public void addFailure(JUnitReportWriter. Implements org. Doc from org. A failure occurred.
| |
| endTest | back to summary |
|---|---|
| public void endTest(JUnitReportWriter. Implements org. Doc from org. A test ended. Here we supply the duration, in case the duration is not determined by the [ startTest, endTest ] interval.
| |
| endTest | back to summary |
|---|---|
| public void endTest(JUnitReportWriter. Implements org. Doc from org. A test ended.
| |
| endTestHelper | back to summary |
|---|---|
| public Element endTestHelper(JUnitReportWriter. | |
| endTestSuite | back to summary |
|---|---|
| public JUnitReportWriter. Implements org. Doc from org. The whole testsuite ended.
| |
| filterLine | back to summary |
|---|---|
| private boolean filterLine(String line) | |
| filterStack | back to summary |
|---|---|
| private String filterStack(String stack) | |
| formatError | back to summary |
|---|---|
| private void formatError(String type, JUnitReportWriter. | |
| formatOutput | back to summary |
|---|---|
| private void formatOutput(String type, String output) | |
| getDocumentBuilder | back to summary |
|---|---|
| private static DocumentBuilder getDocumentBuilder() | |
| getFilteredTrace | back to summary |
|---|---|
| private String getFilteredTrace(Throwable t) | |
| getHostname | back to summary |
|---|---|
| private String getHostname() | |
| getStackTrace | back to summary |
|---|---|
| private String getStackTrace(Throwable t) | |
| setOutput | back to summary |
|---|---|
| public void setOutput(OutputStream out) Implements org. Doc from org. Sets the stream the formatter is supposed to write its results to.
| |
| setSystemError | back to summary |
|---|---|
| public void setSystemError(String out) Implements org. Doc from org. This is what the test has written to System.err
| |
| setSystemOutput | back to summary |
|---|---|
| public void setSystemOutput(String out) Implements org. Doc from org. This is what the test has written to System.out
| |
| startTest | back to summary |
|---|---|
| public void startTest(JUnitReportWriter. Implements org. Doc from org. A test started.
| |
| startTestSuite | back to summary |
|---|---|
| public void startTestSuite(String name, Properties props) Implements org. Doc from org. The whole testsuite started.
| |