org.testng.reporters
Class XMLReporterConfig
java.lang.Object
org.testng.reporters.XMLReporterConfig
public class XMLReporterConfig
- extends Object
- Author:
- Hani Suleiman Date: Mar 27, 2007 Time: 9:16:28 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_TEST
public static final String TAG_TEST
- See Also:
- Constant Field Values
TAG_TEST_METHOD
public static final String TAG_TEST_METHOD
- See Also:
- Constant Field Values
TAG_EXCEPTION
public static final String TAG_EXCEPTION
- See Also:
- Constant Field Values
TAG_MESSAGE
public static final String TAG_MESSAGE
- See Also:
- Constant Field Values
TAG_SHORT_STACKTRACE
public static final String TAG_SHORT_STACKTRACE
- See Also:
- Constant Field Values
TAG_FULL_STACKTRACE
public static final String TAG_FULL_STACKTRACE
- See Also:
- Constant Field Values
TAG_TESTNG_RESULTS
public static final String TAG_TESTNG_RESULTS
- See Also:
- Constant Field Values
TAG_SUITE
public static final String TAG_SUITE
- See Also:
- Constant Field Values
TAG_GROUPS
public static final String TAG_GROUPS
- See Also:
- Constant Field Values
TAG_GROUP
public static final String TAG_GROUP
- See Also:
- Constant Field Values
TAG_CLASS
public static final String TAG_CLASS
- See Also:
- Constant Field Values
TAG_METHOD
public static final String TAG_METHOD
- See Also:
- Constant Field Values
TAG_PARAMS
public static final String TAG_PARAMS
- See Also:
- Constant Field Values
TAG_PARAM
public static final String TAG_PARAM
- See Also:
- Constant Field Values
TAG_PARAM_VALUE
public static final String TAG_PARAM_VALUE
- See Also:
- Constant Field Values
TAG_REPORTER_OUTPUT
public static final String TAG_REPORTER_OUTPUT
- See Also:
- Constant Field Values
TAG_LINE
public static final String TAG_LINE
- See Also:
- Constant Field Values
TAG_ATTRIBUTES
public static final String TAG_ATTRIBUTES
- See Also:
- Constant Field Values
TAG_ATTRIBUTE
public static final String TAG_ATTRIBUTE
- See Also:
- Constant Field Values
ATTR_URL
public static final String ATTR_URL
- See Also:
- Constant Field Values
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
ATTR_STATUS
public static final String ATTR_STATUS
- See Also:
- Constant Field Values
ATTR_DESC
public static final String ATTR_DESC
- See Also:
- Constant Field Values
ATTR_METHOD_SIG
public static final String ATTR_METHOD_SIG
- See Also:
- Constant Field Values
ATTR_GROUPS
public static final String ATTR_GROUPS
- See Also:
- Constant Field Values
ATTR_CLASS
public static final String ATTR_CLASS
- See Also:
- Constant Field Values
ATTR_TEST_INSTANCE_NAME
public static final String ATTR_TEST_INSTANCE_NAME
- See Also:
- Constant Field Values
ATTR_INDEX
public static final String ATTR_INDEX
- See Also:
- Constant Field Values
ATTR_IS_NULL
public static final String ATTR_IS_NULL
- See Also:
- Constant Field Values
ATTR_PACKAGE
public static final String ATTR_PACKAGE
- See Also:
- Constant Field Values
ATTR_STARTED_AT
public static final String ATTR_STARTED_AT
- See Also:
- Constant Field Values
ATTR_FINISHED_AT
public static final String ATTR_FINISHED_AT
- See Also:
- Constant Field Values
ATTR_DURATION_MS
public static final String ATTR_DURATION_MS
- See Also:
- Constant Field Values
ATTR_IS_CONFIG
public static final String ATTR_IS_CONFIG
- See Also:
- Constant Field Values
ATTR_DEPENDS_ON_METHODS
public static final String ATTR_DEPENDS_ON_METHODS
- See Also:
- Constant Field Values
ATTR_DEPENDS_ON_GROUPS
public static final String ATTR_DEPENDS_ON_GROUPS
- See Also:
- Constant Field Values
ATTR_DATA_PROVIDER
public static final String ATTR_DATA_PROVIDER
- See Also:
- Constant Field Values
TEST_PASSED
public static final String TEST_PASSED
- See Also:
- Constant Field Values
TEST_FAILED
public static final String TEST_FAILED
- See Also:
- Constant Field Values
TEST_SKIPPED
public static final String TEST_SKIPPED
- See Also:
- Constant Field Values
FF_LEVEL_NONE
public static final int FF_LEVEL_NONE
- Indicates that no file fragmentation should be performed. This value
indicates the XML generator to write all the results in one big file. Not
recommended for large test suites.
- See Also:
- Constant Field Values
FF_LEVEL_SUITE
public static final int FF_LEVEL_SUITE
- Will cause the XML generator to create separate files for each of the
suites. A separate directory will be generated for each suite having the
name of the suite and containing a
suite.xml
file that will be
referenced in the main file with an url
attribute
- See Also:
- Constant Field Values
FF_LEVEL_SUITE_RESULT
public static final int FF_LEVEL_SUITE_RESULT
- It behaves like
FF_LEVEL_SUITE
, except that it will also
create a file for each ISuiteResult
- See Also:
- Constant Field Values
STACKTRACE_NONE
public static final int STACKTRACE_NONE
- No stacktrace will be written in the output file
- See Also:
- Constant Field Values
STACKTRACE_SHORT
public static final int STACKTRACE_SHORT
- Write only a short version of the stacktrace
- See Also:
- Constant Field Values
STACKTRACE_FULL
public static final int STACKTRACE_FULL
- Write only the full version of the stacktrace
- See Also:
- Constant Field Values
STACKTRACE_BOTH
public static final int STACKTRACE_BOTH
- Write both types of stacktrace
- See Also:
- Constant Field Values
XMLReporterConfig
public XMLReporterConfig()
getStatus
public static Integer getStatus(String status)
convertDate
public static long convertDate(String date)
getFileFragmentationLevel
public int getFileFragmentationLevel()
setFileFragmentationLevel
public void setFileFragmentationLevel(int fileFragmentationLevel)
getStackTraceOutputMethod
public int getStackTraceOutputMethod()
setStackTraceOutputMethod
public void setStackTraceOutputMethod(int stackTraceOutputMethod)
getOutputDirectory
public String getOutputDirectory()
setOutputDirectory
public void setOutputDirectory(String outputDirectory)
isGenerateGroupsAttribute
public boolean isGenerateGroupsAttribute()
setGenerateGroupsAttribute
public void setGenerateGroupsAttribute(boolean generateGroupsAttribute)
isSplitClassAndPackageNames
public boolean isSplitClassAndPackageNames()
setSplitClassAndPackageNames
public void setSplitClassAndPackageNames(boolean splitClassAndPackageNames)
getTimestampFormat
public static String getTimestampFormat()
setTimestampFormat
public void setTimestampFormat(String timestampFormat)
isGenerateDependsOnMethods
public boolean isGenerateDependsOnMethods()
setGenerateDependsOnMethods
public void setGenerateDependsOnMethods(boolean generateDependsOnMethods)
isGenerateDependsOnGroups
public boolean isGenerateDependsOnGroups()
setGenerateDependsOnGroups
public void setGenerateDependsOnGroups(boolean generateDependsOnGroups)
setGenerateTestResultAttributes
public void setGenerateTestResultAttributes(boolean generateTestResultAttributes)
isGenerateTestResultAttributes
public boolean isGenerateTestResultAttributes()
Copyright © 2012. All Rights Reserved.