public class WrappedTestNGMethod extends Object implements ITestNGMethod
ITestNGMethod but with the exception that
it generates a unique hashcode that is different from the original ITestNGMethod instance
that it wraps.| Constructor and Description |
|---|
WrappedTestNGMethod(ITestNGMethod testNGMethod) |
public WrappedTestNGMethod(ITestNGMethod testNGMethod)
public Class<?> getRealClass()
getRealClass in interface ITestNGMethodpublic ITestClass getTestClass()
getTestClass in interface ITestNGMethodpublic void setTestClass(ITestClass cls)
ITestNGMethodsetTestClass in interface ITestNGMethodcls - The test class having this method.public Method getMethod()
getMethod in interface ITestNGMethodpublic String getMethodName()
ITestNGMethodgetMethodName in interface ITestNGMethodpublic Object[] getInstances()
getInstances in interface ITestNGMethodpublic Object getInstance()
getInstance in interface ITestNGMethodpublic long[] getInstanceHashCodes()
ITestNGMethodgetInstanceHashCodes in interface ITestNGMethodpublic String[] getGroups()
getGroups in interface ITestNGMethodpublic String[] getGroupsDependedUpon()
getGroupsDependedUpon in interface ITestNGMethodpublic String getMissingGroup()
ITestNGMethodgetMissingGroup in interface ITestNGMethodpublic void setMissingGroup(String group)
setMissingGroup in interface ITestNGMethodpublic String[] getBeforeGroups()
ITestNGMethodgetBeforeGroups in interface ITestNGMethodpublic String[] getAfterGroups()
getAfterGroups in interface ITestNGMethodpublic String[] getMethodsDependedUpon()
getMethodsDependedUpon in interface ITestNGMethodpublic void addMethodDependedUpon(String methodName)
addMethodDependedUpon in interface ITestNGMethodpublic boolean isTest()
isTest in interface ITestNGMethodpublic boolean isBeforeMethodConfiguration()
isBeforeMethodConfiguration in interface ITestNGMethodpublic boolean isAfterMethodConfiguration()
isAfterMethodConfiguration in interface ITestNGMethodpublic boolean isBeforeClassConfiguration()
isBeforeClassConfiguration in interface ITestNGMethodpublic boolean isAfterClassConfiguration()
isAfterClassConfiguration in interface ITestNGMethodpublic boolean isBeforeSuiteConfiguration()
isBeforeSuiteConfiguration in interface ITestNGMethodpublic boolean isAfterSuiteConfiguration()
isAfterSuiteConfiguration in interface ITestNGMethodpublic boolean isBeforeTestConfiguration()
isBeforeTestConfiguration in interface ITestNGMethodpublic boolean isAfterTestConfiguration()
isAfterTestConfiguration in interface ITestNGMethodpublic boolean isBeforeGroupsConfiguration()
isBeforeGroupsConfiguration in interface ITestNGMethodpublic boolean isAfterGroupsConfiguration()
isAfterGroupsConfiguration in interface ITestNGMethodpublic long getTimeOut()
getTimeOut in interface ITestNGMethodpublic void setTimeOut(long timeOut)
setTimeOut in interface ITestNGMethodpublic int getInvocationCount()
getInvocationCount in interface ITestNGMethodpublic void setInvocationCount(int count)
setInvocationCount in interface ITestNGMethodpublic int getTotalInvocationCount()
getTotalInvocationCount in interface ITestNGMethodpublic int getSuccessPercentage()
getSuccessPercentage in interface ITestNGMethodpublic String getId()
getId in interface ITestNGMethodpublic void setId(String id)
setId in interface ITestNGMethodpublic long getDate()
getDate in interface ITestNGMethodpublic void setDate(long date)
setDate in interface ITestNGMethodpublic boolean canRunFromClass(IClass testClass)
ITestNGMethodcanRunFromClass in interface ITestNGMethodpublic boolean isAlwaysRun()
isAlwaysRun in interface ITestNGMethodpublic int getThreadPoolSize()
getThreadPoolSize in interface ITestNGMethodpublic void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize in interface ITestNGMethodpublic boolean getEnabled()
getEnabled in interface ITestNGMethodpublic String getDescription()
getDescription in interface ITestNGMethodpublic void setDescription(String description)
setDescription in interface ITestNGMethodpublic void incrementCurrentInvocationCount()
incrementCurrentInvocationCount in interface ITestNGMethodpublic int getCurrentInvocationCount()
getCurrentInvocationCount in interface ITestNGMethodpublic void setParameterInvocationCount(int n)
setParameterInvocationCount in interface ITestNGMethodpublic int getParameterInvocationCount()
getParameterInvocationCount in interface ITestNGMethodpublic void setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker)
setMoreInvocationChecker in interface ITestNGMethodpublic boolean hasMoreInvocation()
hasMoreInvocation in interface ITestNGMethodpublic ITestNGMethod clone()
clone in interface ITestNGMethodclone in class Objectpublic IRetryAnalyzer getRetryAnalyzer()
getRetryAnalyzer in interface ITestNGMethodpublic void setRetryAnalyzer(IRetryAnalyzer retryAnalyzer)
setRetryAnalyzer in interface ITestNGMethodpublic boolean skipFailedInvocations()
skipFailedInvocations in interface ITestNGMethodpublic void setSkipFailedInvocations(boolean skip)
setSkipFailedInvocations in interface ITestNGMethodpublic long getInvocationTimeOut()
ITestNGMethodgetInvocationTimeOut in interface ITestNGMethodpublic boolean ignoreMissingDependencies()
ignoreMissingDependencies in interface ITestNGMethodpublic void setIgnoreMissingDependencies(boolean ignore)
setIgnoreMissingDependencies in interface ITestNGMethodpublic List<Integer> getInvocationNumbers()
ITestNGMethodgetInvocationNumbers in interface ITestNGMethodpublic void setInvocationNumbers(List<Integer> numbers)
setInvocationNumbers in interface ITestNGMethodpublic void addFailedInvocationNumber(int number)
ITestNGMethodaddFailedInvocationNumber in interface ITestNGMethodpublic List<Integer> getFailedInvocationNumbers()
getFailedInvocationNumbers in interface ITestNGMethodpublic int getPriority()
ITestNGMethodgetPriority in interface ITestNGMethodpublic void setPriority(int priority)
setPriority in interface ITestNGMethodpublic XmlTest getXmlTest()
getXmlTest in interface ITestNGMethodpublic ConstructorOrMethod getConstructorOrMethod()
getConstructorOrMethod in interface ITestNGMethodpublic Map<String,String> findMethodParameters(XmlTest test)
findMethodParameters in interface ITestNGMethodpublic String getQualifiedName()
ITestNGMethodgetQualifiedName in interface ITestNGMethodCopyright © 2024. All rights reserved.