org.testng
Interface IClass

All Superinterfaces:
Serializable
All Known Subinterfaces:
ITestClass
All Known Implementing Classes:
JUnit3TestClass, JUnit4TestClass, JUnitTestClass

public interface IClass
extends Serializable

IClass represents a test class and a collection of its instances.

Author:
Cedric Beust


Method Summary
 voidaddInstance(Object instance)
           
 intgetInstanceCount()
           
 long[]getInstanceHashCodes()
           
 Object[]getInstances(boolean create)
           
 StringgetName()
           
 ClassgetRealClass()
           
 StringgetTestName()
          If this class implements ITest, returns its test name, otherwise returns null.
 XmlClassgetXmlClass()
           
 XmlTestgetXmlTest()
           
 

Method Detail

getName

String getName()
Returns:
this test class name. This is the name of the corresponding Java class.

getXmlTest

XmlTest getXmlTest()
Returns:
the <test> tag this class was found in.

getXmlClass

XmlClass getXmlClass()
Returns:
the *lt;class> tag this class was found in.

getTestName

String getTestName()
If this class implements ITest, returns its test name, otherwise returns null.


getRealClass

Class getRealClass()
Returns:
the Java class corresponding to this IClass.

getInstances

Object[] getInstances(boolean create)

getInstanceCount

int getInstanceCount()

getInstanceHashCodes

long[] getInstanceHashCodes()

addInstance

void addInstance(Object instance)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14