public class JUnitReportReporter extends java.lang.Object implements IReporter
Modifier and Type | Class and Description |
---|---|
(package private) static class |
JUnitReportReporter.TestTag |
Constructor and Description |
---|
JUnitReportReporter() |
Modifier and Type | Method and Description |
---|---|
private void |
addResults(java.util.Set<ITestResult> allResults,
java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> out) |
private java.lang.String |
formatTime(float time) |
void |
generateReport(java.util.List<XmlSuite> xmlSuites,
java.util.List<ISuite> suites,
java.lang.String defaultOutputDirectory)
Generate a report for the given suites into the specified output directory.
|
protected java.lang.String |
getFileName(java.lang.Class cls) |
private long |
getNextConfiguration(ListMultiMap<java.lang.Object,ITestResult> configurations,
ITestResult tr)
Add the time of the configuration method to this test method.
|
protected java.lang.String |
getTestName(ITestResult tr) |
private java.lang.Throwable |
getThrowable(ITestResult tr,
java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> failedConfigurations) |
public void generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)
IReporter
generateReport
in interface IReporter
private long getNextConfiguration(ListMultiMap<java.lang.Object,ITestResult> configurations, ITestResult tr)
protected java.lang.String getFileName(java.lang.Class cls)
protected java.lang.String getTestName(ITestResult tr)
private java.lang.String formatTime(float time)
private java.lang.Throwable getThrowable(ITestResult tr, java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> failedConfigurations)
private void addResults(java.util.Set<ITestResult> allResults, java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> out)