AggregatedEventListenerpublic class AntXmlReport extends java.lang.Object implements AggregatedEventListener
junit task. These files do not include full
information but many tools can parse them.| Constructor | Description |
|---|---|
AntXmlReport() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addConfiguredTokenFilter(org.apache.tools.ant.filters.TokenFilter filter) |
Adds method name filter.
|
void |
onQuit(AggregatedQuitEvent e) |
Write the summary file, if requested.
|
void |
onSuiteResult(AggregatedSuiteResultEvent e) |
Emit information about all of suite's tests.
|
void |
setDir(java.io.File dir) |
Output directory to write reports to.
|
void |
setIgnoreDuplicateSuites(boolean ignoreDuplicateSuites) |
Ignore duplicate suite names.
|
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.
|
void |
setSummaryFile(java.io.File file) |
Where to emit Maven's summary file? This can be used
by
the failsafe plugin to verify whether the build succeeded or not.
|
public void setDir(java.io.File dir)
public void setSummaryFile(java.io.File file)
public void setOutputStreams(boolean outputStreams)
public void setMavenExtensions(boolean mavenExtensions)
public void setIgnoreDuplicateSuites(boolean ignoreDuplicateSuites)
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 onQuit(AggregatedQuitEvent e)
public void onSuiteResult(AggregatedSuiteResultEvent e)
Copyright © 2011–2018 Carrot Search s.c.. All rights reserved.