|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
Method Summary | |
---|---|
void |
addMethodDependedUpon(java.lang.String methodName)
|
boolean |
canRunFromClass(IClass testClass)
Returns if this ITestNGMethod can be invoked from within IClass. |
ITestNGMethod |
clone()
|
java.lang.String[] |
getAfterGroups()
|
java.lang.String[] |
getBeforeGroups()
Before and After groups |
int |
getCurrentInvocationCount()
|
long |
getDate()
|
java.lang.String |
getDescription()
|
java.lang.String[] |
getGroups()
|
java.lang.String[] |
getGroupsDependedUpon()
|
java.lang.String |
getId()
|
long[] |
getInstanceHashCodes()
Needed for serialization. |
java.lang.Object[] |
getInstances()
|
int |
getInvocationCount()
|
long |
getInvocationTimeOut()
The time under which all invocationCount methods need to complete by. |
java.lang.reflect.Method |
getMethod()
Returns the corresponding Java test method. |
java.lang.String |
getMethodName()
Returns the method name. |
java.lang.String[] |
getMethodsDependedUpon()
|
java.lang.String |
getMissingGroup()
If a group was not found. |
int |
getParameterInvocationCount()
|
java.lang.Class |
getRealClass()
|
IRetryAnalyzer |
getRetryAnalyzer()
|
int |
getSuccessPercentage()
|
ITestClass |
getTestClass()
|
int |
getThreadPoolSize()
|
long |
getTimeOut()
|
boolean |
ignoreMissingDependencies()
|
void |
incrementCurrentInvocationCount()
|
boolean |
isAfterClassConfiguration()
|
boolean |
isAfterGroupsConfiguration()
|
boolean |
isAfterMethodConfiguration()
|
boolean |
isAfterSuiteConfiguration()
|
boolean |
isAfterTestConfiguration()
|
boolean |
isAlwaysRun()
|
boolean |
isBeforeClassConfiguration()
|
boolean |
isBeforeGroupsConfiguration()
|
boolean |
isBeforeMethodConfiguration()
|
boolean |
isBeforeSuiteConfiguration()
|
boolean |
isBeforeTestConfiguration()
|
boolean |
isTest()
|
void |
setDate(long date)
|
void |
setId(java.lang.String id)
|
void |
setIgnoreMissingDependencies(boolean ignore)
|
void |
setInvocationCount(int count)
|
void |
setMissingGroup(java.lang.String group)
|
void |
setParameterInvocationCount(int n)
|
void |
setRetryAnalyzer(IRetryAnalyzer retryAnalyzer)
|
void |
setSkipFailedInvocations(boolean skip)
|
void |
setTestClass(ITestClass cls)
Sets the test class having this method. |
void |
setThreadPoolSize(int threadPoolSize)
|
boolean |
skipFailedInvocations()
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.Class getRealClass()
ITestClass getTestClass()
void setTestClass(ITestClass cls)
cls
- The test class having this method.java.lang.reflect.Method getMethod()
java.lang.String getMethodName()
java.lang.Object[] getInstances()
long[] getInstanceHashCodes()
java.lang.String[] getGroups()
java.lang.String[] getGroupsDependedUpon()
java.lang.String getMissingGroup()
void setMissingGroup(java.lang.String group)
java.lang.String[] getBeforeGroups()
java.lang.String[] getAfterGroups()
java.lang.String[] getMethodsDependedUpon()
void addMethodDependedUpon(java.lang.String methodName)
boolean isTest()
boolean isBeforeMethodConfiguration()
boolean isAfterMethodConfiguration()
boolean isBeforeClassConfiguration()
boolean isAfterClassConfiguration()
boolean isBeforeSuiteConfiguration()
boolean isAfterSuiteConfiguration()
boolean isBeforeTestConfiguration()
boolean isAfterTestConfiguration()
boolean isBeforeGroupsConfiguration()
boolean isAfterGroupsConfiguration()
long getTimeOut()
int getInvocationCount()
void setInvocationCount(int count)
int getSuccessPercentage()
java.lang.String getId()
void setId(java.lang.String id)
long getDate()
void setDate(long date)
boolean canRunFromClass(IClass testClass)
boolean isAlwaysRun()
int getThreadPoolSize()
void setThreadPoolSize(int threadPoolSize)
java.lang.String getDescription()
void incrementCurrentInvocationCount()
int getCurrentInvocationCount()
void setParameterInvocationCount(int n)
int getParameterInvocationCount()
ITestNGMethod clone()
IRetryAnalyzer getRetryAnalyzer()
void setRetryAnalyzer(IRetryAnalyzer retryAnalyzer)
boolean skipFailedInvocations()
void setSkipFailedInvocations(boolean skip)
long getInvocationTimeOut()
boolean ignoreMissingDependencies()
void setIgnoreMissingDependencies(boolean ignore)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |