IClass represents a test class and a collection of its instances.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public long[] | |
| public Object[] | Returns: All the instances the methods will be invoked upon.flag if a new set of instances must be returned (if set to create)false)
Deprecated
- As of TestNG
Returns all the instances the methods will be invoked upon.
v7.10.0
|
| public default Object[] | Returns: All the instances the methods will be invoked upon.flag if a new set of instances must be returned (if set to create, String false)- Text that should be prefixed to the error message when there are
issues. Can be empty. errorMsgPrefix)
Deprecated
- As of TestNG
Returns all the instances the methods will be invoked upon.
v7.10.0
|
| public String | |
| public Class | |
| public String | |
| public XmlClass | |
| public XmlTest |
| addInstance | back to summary |
|---|---|
| public void addInstance(Object instance)
Deprecated - As of TestNG
| |
| getInstanceHashCodes | back to summary |
|---|---|
| public long[] getInstanceHashCodes()
Deprecated - As of TestNG
| |
| getInstances | back to summary |
|---|---|
| public Object[] getInstances(boolean create)
Deprecated - As of TestNG Returns all the instances the methods will be invoked upon. This will typically be an array of one object in the absence of a @Factory annotation.
| |
| getInstances | back to summary |
|---|---|
| public default Object[] getInstances(boolean create, String errorMsgPrefix)
Deprecated - As of TestNG Returns all the instances the methods will be invoked upon. This will typically be an array of one object in the absence of a @Factory annotation. | |
| getName | back to summary |
|---|---|
public String getName()
| |
| getRealClass | back to summary |
|---|---|
public Class
| |
| getTestName | back to summary |
|---|---|
public String getTestName()
| |
| getXmlClass | back to summary |
|---|---|
public XmlClass getXmlClass()
| |
| getXmlTest | back to summary |
|---|---|
public XmlTest getXmlTest()
| |