public interface ITestNGMethod extends Comparable, Serializable, Cloneable
compareTo
Class getRealClass()
ITestClass getTestClass()
void setTestClass(ITestClass cls)
cls
- The test class having this method.@Deprecated Method getMethod()
String getMethodName()
@Deprecated Object[] getInstances()
Object getInstance()
long[] getInstanceHashCodes()
String[] getGroups()
String[] getGroupsDependedUpon()
String getMissingGroup()
void setMissingGroup(String group)
String[] getBeforeGroups()
String[] getAfterGroups()
String[] getMethodsDependedUpon()
void addMethodDependedUpon(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()
void setTimeOut(long timeOut)
int getInvocationCount()
void setInvocationCount(int count)
int getTotalInvocationCount()
getInvocationCount()
would always return 1.int getSuccessPercentage()
String getId()
void setId(String id)
long getDate()
void setDate(long date)
boolean canRunFromClass(IClass testClass)
boolean isAlwaysRun()
int getThreadPoolSize()
void setThreadPoolSize(int threadPoolSize)
boolean getEnabled()
String getDescription()
void setDescription(String description)
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)
List<Integer> getInvocationNumbers()
void addFailedInvocationNumber(int number)
int getPriority()
void setPriority(int priority)
XmlTest getXmlTest()
org.testng.internal.ConstructorOrMethod getConstructorOrMethod()
Copyright © 2015. All rights reserved.