<class> in testng.xml.
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private List | |
| private List | |
| private int | m_index
The index of this class in the <test> tag |
| private boolean | m_loadClasses
True if the classes need to be loaded |
| private String | |
| private Map | |
| private XmlTest |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public Map | |
| public List | |
| public List | |
| public int | Returns: the valueNote 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. |
| public Map | Returns: The parameters defined in this tag, and only this test tag. To retrieve the inherited parameters as well, callgetAllParameters().
|
| public String | |
| public Class | |
| public int | |
| private void | |
| private void | |
| public static String | |
| private void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public String |
| m_class | back to summary |
|---|---|
| private Class<T> m_class | |
| m_excludedMethods | back to summary |
|---|---|
| private List<String> m_excludedMethods | |
| m_includedMethods | back to summary |
|---|---|
| private List<XmlInclude> m_includedMethods | |
| m_index | back to summary |
|---|---|
| private int m_index The index of this class in the <test> tag | |
| m_loadClasses | back to summary |
|---|---|
| private boolean m_loadClasses True if the classes need to be loaded | |
| m_name | back to summary |
|---|---|
| private String m_name | |
| m_parameters | back to summary |
|---|---|
| private Map<String, String> m_parameters | |
| m_xmlTest | back to summary |
|---|---|
| private XmlTest m_xmlTest | |
| XmlClass | back to summary |
|---|---|
| public XmlClass() | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(String name) | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(String name, boolean loadClasses) | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(Class<T> cls) | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(Class<T> cls, boolean loadClasses) | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(String className, int index) | |
| XmlClass | back to summary |
|---|---|
| public XmlClass(String className, int index, boolean loadClasses) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Clone an XmlClass by copying all its components.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAllParameters | back to summary |
|---|---|
| public Map | |
| getExcludedMethods | back to summary |
|---|---|
| public List | |
| getIncludedMethods | back to summary |
|---|---|
public List
| |
| getIndex | back to summary |
|---|---|
| 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.
| |
| getLocalParameters | back to summary |
|---|---|
| public Map | |
| getName | back to summary |
|---|---|
public String getName()
| |
| getSupportClass | back to summary |
|---|---|
public Class
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init(String className, Class<T> cls, int index) | |
| init | back to summary |
|---|---|
| private void init(String className, Class<T> cls, int index, boolean resolveClass) | |
| listToString | back to summary |
|---|---|
| public static String listToString(List<Integer> invocationNumbers) | |
| loadClass | back to summary |
|---|---|
| private void loadClass() | |
| loadClasses | back to summary |
|---|---|
public boolean loadClasses()
| |
| setClass | back to summary |
|---|---|
public void setClass(Class<T> className)
| |
| setExcludedMethods | back to summary |
|---|---|
| public void setExcludedMethods(List<String> excludedMethods) | |
| setIncludedMethods | back to summary |
|---|---|
public void setIncludedMethods(List<XmlInclude> includedMethods)
| |
| setIndex | back to summary |
|---|---|
| public void setIndex(int index) | |
| setName | back to summary |
|---|---|
public void setName(String name)
| |
| setParameters | back to summary |
|---|---|
| public void setParameters(Map<String, String> parameters) | |
| setXmlTest | back to summary |
|---|---|
| public void setXmlTest(XmlTest test) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toXml | back to summary |
|---|---|
| public String toXml(String indent) | |