org.testng
Interface IClass
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- ITestClass
- All Known Implementing Classes:
- TestClass
public interface IClass
- extends java.io.Serializable
IClass
represents a test class and a collection of its instances.
- Author:
- Cedric Beust
getName
java.lang.String getName()
- Returns:
- this test class name. This is the name of the
corresponding Java class.
getTestName
java.lang.String getTestName()
- If this class implements ITest, returns its test name, otherwise returns null.
getRealClass
java.lang.Class getRealClass()
- Returns:
- the Java class corresponding to this IClass.
getInstances
java.lang.Object[] getInstances(boolean create)
getInstanceCount
int getInstanceCount()
getInstanceHashCodes
long[] getInstanceHashCodes()
addInstance
void addInstance(java.lang.Object instance)