public interface ITestClass extends IClass, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
ITestNGMethod[] |
getAfterClassMethods()
Returns all the methods that should be invoked
after all the tests have been run on this class.
|
ITestNGMethod[] |
getAfterGroupsMethods()
Returns all @Configuration methods that should be invoked after certain groups.
|
ITestNGMethod[] |
getAfterSuiteMethods()
Returns all the methods that should be invoked
after the suite has run.
|
ITestNGMethod[] |
getAfterTestConfigurationMethods()
Returns all @Configuration methods that should be invoked last before any others
in the current test.
|
ITestNGMethod[] |
getAfterTestMethods()
Returns all the methods that should be invoked
after a test method completes.
|
ITestNGMethod[] |
getBeforeClassMethods()
Return all the methods that should be invoked
after the test class has been created and before
any of its test methods is invoked.
|
ITestNGMethod[] |
getBeforeGroupsMethods()
Returns all @Configuration methods that should be invoked before certain groups.
|
ITestNGMethod[] |
getBeforeSuiteMethods()
Returns All the methods that should be invoked
before the suite is run.
|
ITestNGMethod[] |
getBeforeTestConfigurationMethods()
Returns all @Configuration methods that should be invoked before any others in the
current test.
|
ITestNGMethod[] |
getBeforeTestMethods()
Returns all the methods that should be invoked
before a test method is invoked.
|
int |
getInstanceCount() |
long[] |
getInstanceHashCodes()
TODO cquezel JavaDoc.
|
java.lang.Object[] |
getInstances(boolean reuse)
Returns all the instances the methods will be invoked upon.
|
ITestNGMethod[] |
getTestMethods()
Returns all the applicable test methods.
|
addInstance, getName, getRealClass, getTestName, getXmlClass, getXmlTest
java.lang.Object[] getInstances(boolean reuse)
getInstances
in interface IClass
reuse
- flag if a new set of instances must be returned
(if set to false)long[] getInstanceHashCodes()
getInstanceHashCodes
in interface IClass
int getInstanceCount()
getInstanceCount
in interface IClass
ITestNGMethod[] getTestMethods()
ITestNGMethod[] getBeforeTestMethods()
ITestNGMethod[] getAfterTestMethods()
ITestNGMethod[] getBeforeClassMethods()
ITestNGMethod[] getAfterClassMethods()
ITestNGMethod[] getBeforeSuiteMethods()
ITestNGMethod[] getAfterSuiteMethods()
ITestNGMethod[] getBeforeTestConfigurationMethods()
ITestNGMethod[] getAfterTestConfigurationMethods()
ITestNGMethod[] getBeforeGroupsMethods()
ITestNGMethod[] getAfterGroupsMethods()