|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
public class AntXmlReport
A report listener that produces XML files compatible with those produced by
ANT's default junit task. These files do not include full
information but many tools can parse them.
| Constructor Summary | |
|---|---|
AntXmlReport()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredTokenFilter(org.apache.tools.ant.filters.TokenFilter filter)
Adds method name filter. |
void |
onSuiteResult(AggregatedSuiteResultEvent e)
Emit information about all of suite's tests. |
void |
setDir(File dir)
Output directory to write reports to. |
void |
setMavenExtensions(boolean mavenExtensions)
Emit maven elements in the XML (extensions compared to ANT). |
void |
setOuter(JUnit4 junit4)
Link to the container. |
void |
setOutputStreams(boolean outputStreams)
Include output streams? Mind that with large outputs the report may OOM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntXmlReport()
| Method Detail |
|---|
public void setDir(File dir)
public void setOutputStreams(boolean outputStreams)
public void setMavenExtensions(boolean mavenExtensions)
public void addConfiguredTokenFilter(org.apache.tools.ant.filters.TokenFilter filter)
public void setOuter(JUnit4 junit4)
AggregatedEventListenerBuildException if
parameter validation doesn't succeed, for example.
setOuter in interface AggregatedEventListenerpublic void onSuiteResult(AggregatedSuiteResultEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||