public interface ITestNGMethod extends Cloneable
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)
@Deprecated int getTotalInvocationCount()
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()
boolean hasMoreInvocation()
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()
ConstructorOrMethod getConstructorOrMethod()
Map<String,String> findMethodParameters(XmlTest test)
test
- String getQualifiedName()
Copyright © 2018. All rights reserved.