Class XmlClass
java.lang.Object
org.testng.xml.XmlClass
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone an XmlClass by copying all its components.booleanintgetIndex()Note that this attribute does not come from the XML file, it's calculated internally and represents the order in which this class was found in its <test> tag.getName()Class<?> inthashCode()static StringlistToString(List<Integer> invocationNumbers) booleanvoidvoidsetExcludedMethods(List<String> excludedMethods) voidsetIncludedMethods(List<XmlInclude> includedMethods) voidsetIndex(int index) voidvoidsetParameters(Map<String, String> parameters) voidsetXmlTest(XmlTest test) toString()
-
Constructor Details
-
XmlClass
public XmlClass() -
XmlClass
-
XmlClass
-
XmlClass
-
XmlClass
-
XmlClass
-
XmlClass
-
-
Method Details
-
getSupportClass
- Returns:
- Returns the className.
-
setClass
- Parameters:
className- The className to set.
-
getExcludedMethods
-
setExcludedMethods
-
getIncludedMethods
- Returns:
- Returns the includedMethods.
-
setIncludedMethods
- Parameters:
includedMethods- The includedMethods to set.
-
getName
- Returns:
- Returns the name.
-
setName
- Parameters:
name- The name to set.
-
loadClasses
public boolean loadClasses()- Returns:
- true if the classes need to be loaded.
-
toString
-
toXml
-
listToString
-
clone
-
getIndex
public int getIndex()Note that this attribute does not come from the XML file, it's calculated internally and represents the order in which this class was found in its <test> tag. It's used to calculate the ordering of the classes when preserve-order is true.- Returns:
- the value
-
setIndex
public void setIndex(int index) -
hashCode
-
equals
-
setParameters
-
getAllParameters
-
getLocalParameters
-
setXmlTest
-