public class XMLReporter extends Object implements IReporter
Constructor and Description |
---|
XMLReporter() |
Modifier and Type | Method and Description |
---|---|
static void |
addDurationAttributes(XMLReporterConfig config,
Properties attributes,
Date minStartDate,
Date maxEndDate)
Add started-at, finished-at and duration-ms attributes to the
|
void |
generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory)
Generate a report for the given suites into the specified output directory.
|
int |
getFileFragmentationLevel() |
String |
getOutputDirectory() |
int |
getStackTraceOutputMethod() |
String |
getTimestampFormat() |
boolean |
isGenerateDependsOnGroups() |
boolean |
isGenerateDependsOnMethods() |
boolean |
isGenerateGroupsAttribute() |
boolean |
isGenerateTestResultAttributes() |
boolean |
isSplitClassAndPackageNames() |
void |
setFileFragmentationLevel(int fileFragmentationLevel) |
void |
setGenerateDependsOnGroups(boolean generateDependsOnGroups) |
void |
setGenerateDependsOnMethods(boolean generateDependsOnMethods) |
void |
setGenerateGroupsAttribute(boolean generateGroupsAttribute) |
void |
setGenerateTestResultAttributes(boolean generateTestResultAttributes) |
void |
setOutputDirectory(String outputDirectory) |
void |
setSplitClassAndPackageNames(boolean splitClassAndPackageNames) |
void |
setStackTraceOutputMethod(int stackTraceOutputMethod) |
void |
setTimestampFormat(String timestampFormat) |
public static final String FILE_NAME
public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
IReporter
generateReport
in interface IReporter
public static void addDurationAttributes(XMLReporterConfig config, Properties attributes, Date minStartDate, Date maxEndDate)
public int getFileFragmentationLevel()
public void setFileFragmentationLevel(int fileFragmentationLevel)
public int getStackTraceOutputMethod()
public void setStackTraceOutputMethod(int stackTraceOutputMethod)
public String getOutputDirectory()
public void setOutputDirectory(String outputDirectory)
public boolean isGenerateGroupsAttribute()
public void setGenerateGroupsAttribute(boolean generateGroupsAttribute)
public boolean isSplitClassAndPackageNames()
public void setSplitClassAndPackageNames(boolean splitClassAndPackageNames)
public String getTimestampFormat()
public void setTimestampFormat(String timestampFormat)
public boolean isGenerateDependsOnMethods()
public void setGenerateDependsOnMethods(boolean generateDependsOnMethods)
public void setGenerateDependsOnGroups(boolean generateDependsOnGroups)
public boolean isGenerateDependsOnGroups()
public void setGenerateTestResultAttributes(boolean generateTestResultAttributes)
public boolean isGenerateTestResultAttributes()
Copyright © 2015. All rights reserved.