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.
|
XMLReporterConfig |
getConfig() |
int |
getFileFragmentationLevel()
Deprecated.
Unused
|
String |
getOutputDirectory()
Deprecated.
Use #getConfig() instead
|
int |
getStackTraceOutputMethod()
Deprecated.
Use #getConfig() instead
|
String |
getTimestampFormat()
Deprecated.
Use #getConfig() instead
|
boolean |
isGenerateDependsOnGroups()
Deprecated.
Use #getConfig() instead
|
boolean |
isGenerateDependsOnMethods()
Deprecated.
Use #getConfig() instead
|
boolean |
isGenerateGroupsAttribute()
Deprecated.
Use #getConfig() instead
|
boolean |
isGenerateTestResultAttributes()
Deprecated.
Use #getConfig() instead
|
boolean |
isSplitClassAndPackageNames()
Deprecated.
Use #getConfig() instead
|
void |
setFileFragmentationLevel(int fileFragmentationLevel)
Deprecated.
Unused
|
void |
setGenerateDependsOnGroups(boolean generateDependsOnGroups)
Deprecated.
Use #getConfig() instead
|
void |
setGenerateDependsOnMethods(boolean generateDependsOnMethods)
Deprecated.
Use #getConfig() instead
|
void |
setGenerateGroupsAttribute(boolean generateGroupsAttribute)
Deprecated.
Use #getConfig() instead
|
void |
setGenerateTestResultAttributes(boolean generateTestResultAttributes)
Deprecated.
Use #getConfig() instead
|
void |
setOutputDirectory(String outputDirectory)
Deprecated.
Use #getConfig() instead
|
void |
setSplitClassAndPackageNames(boolean splitClassAndPackageNames)
Deprecated.
Use #getConfig() instead
|
void |
setStackTraceOutputMethod(int stackTraceOutputMethod)
Deprecated.
Use #getConfig() instead
|
void |
setTimestampFormat(String timestampFormat)
Deprecated.
Use #getConfig() instead
|
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)
@Deprecated public int getFileFragmentationLevel()
@Deprecated public void setFileFragmentationLevel(int fileFragmentationLevel)
@Deprecated public int getStackTraceOutputMethod()
@Deprecated public void setStackTraceOutputMethod(int stackTraceOutputMethod)
@Deprecated public String getOutputDirectory()
@Deprecated public void setOutputDirectory(String outputDirectory)
@Deprecated public boolean isGenerateGroupsAttribute()
@Deprecated public void setGenerateGroupsAttribute(boolean generateGroupsAttribute)
@Deprecated public boolean isSplitClassAndPackageNames()
@Deprecated public void setSplitClassAndPackageNames(boolean splitClassAndPackageNames)
@Deprecated public String getTimestampFormat()
@Deprecated public void setTimestampFormat(String timestampFormat)
@Deprecated public boolean isGenerateDependsOnMethods()
@Deprecated public void setGenerateDependsOnMethods(boolean generateDependsOnMethods)
@Deprecated public void setGenerateDependsOnGroups(boolean generateDependsOnGroups)
@Deprecated public boolean isGenerateDependsOnGroups()
@Deprecated public void setGenerateTestResultAttributes(boolean generateTestResultAttributes)
@Deprecated public boolean isGenerateTestResultAttributes()
public XMLReporterConfig getConfig()
Copyright © 2024. All rights reserved.