public class ClonedMethod extends Object implements ITestNGMethod
| Constructor and Description |
|---|
ClonedMethod(ITestNGMethod method,
Method javaMethod) |
public ClonedMethod(ITestNGMethod method, Method javaMethod)
public void addMethodDependedUpon(String methodName)
addMethodDependedUpon in interface ITestNGMethodpublic boolean canRunFromClass(IClass testClass)
ITestNGMethodcanRunFromClass in interface ITestNGMethodpublic String[] getAfterGroups()
getAfterGroups in interface ITestNGMethodpublic String[] getBeforeGroups()
ITestNGMethodgetBeforeGroups in interface ITestNGMethodpublic int getCurrentInvocationCount()
getCurrentInvocationCount in interface ITestNGMethodpublic long getDate()
getDate in interface ITestNGMethodpublic String getDescription()
getDescription in interface ITestNGMethodpublic void setDescription(String description)
setDescription in interface ITestNGMethodpublic boolean getEnabled()
getEnabled in interface ITestNGMethodpublic String[] getGroups()
getGroups in interface ITestNGMethodpublic String[] getGroupsDependedUpon()
getGroupsDependedUpon in interface ITestNGMethodpublic String getId()
getId in interface ITestNGMethodpublic long[] getInstanceHashCodes()
ITestNGMethodgetInstanceHashCodes in interface ITestNGMethodpublic Object[] getInstances()
getInstances in interface ITestNGMethodpublic Object getInstance()
getInstance in interface ITestNGMethodpublic int getInvocationCount()
getInvocationCount in interface ITestNGMethodpublic int getTotalInvocationCount()
getTotalInvocationCount in interface ITestNGMethodpublic long getInvocationTimeOut()
ITestNGMethodgetInvocationTimeOut in interface ITestNGMethodpublic Method getMethod()
getMethod in interface ITestNGMethodpublic String getMethodName()
ITestNGMethodgetMethodName in interface ITestNGMethodpublic String[] getMethodsDependedUpon()
getMethodsDependedUpon in interface ITestNGMethodpublic String getMissingGroup()
ITestNGMethodgetMissingGroup in interface ITestNGMethodpublic int getParameterInvocationCount()
getParameterInvocationCount in interface ITestNGMethodpublic void setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker)
setMoreInvocationChecker in interface ITestNGMethodpublic boolean hasMoreInvocation()
hasMoreInvocation in interface ITestNGMethodpublic Class getRealClass()
getRealClass in interface ITestNGMethodpublic IRetryAnalyzer getRetryAnalyzer()
getRetryAnalyzer in interface ITestNGMethodpublic int getSuccessPercentage()
getSuccessPercentage in interface ITestNGMethodpublic ITestClass getTestClass()
getTestClass in interface ITestNGMethodpublic int getThreadPoolSize()
getThreadPoolSize in interface ITestNGMethodpublic long getTimeOut()
getTimeOut in interface ITestNGMethodpublic void setTimeOut(long timeOut)
setTimeOut in interface ITestNGMethodpublic boolean ignoreMissingDependencies()
ignoreMissingDependencies in interface ITestNGMethodpublic void incrementCurrentInvocationCount()
incrementCurrentInvocationCount in interface ITestNGMethodpublic boolean isAfterClassConfiguration()
isAfterClassConfiguration in interface ITestNGMethodpublic boolean isAfterGroupsConfiguration()
isAfterGroupsConfiguration in interface ITestNGMethodpublic boolean isAfterMethodConfiguration()
isAfterMethodConfiguration in interface ITestNGMethodpublic boolean isAfterSuiteConfiguration()
isAfterSuiteConfiguration in interface ITestNGMethodpublic boolean isAfterTestConfiguration()
isAfterTestConfiguration in interface ITestNGMethodpublic boolean isAlwaysRun()
isAlwaysRun in interface ITestNGMethodpublic boolean isBeforeClassConfiguration()
isBeforeClassConfiguration in interface ITestNGMethodpublic boolean isBeforeGroupsConfiguration()
isBeforeGroupsConfiguration in interface ITestNGMethodpublic boolean isBeforeMethodConfiguration()
isBeforeMethodConfiguration in interface ITestNGMethodpublic boolean isBeforeSuiteConfiguration()
isBeforeSuiteConfiguration in interface ITestNGMethodpublic boolean isBeforeTestConfiguration()
isBeforeTestConfiguration in interface ITestNGMethodpublic boolean isTest()
isTest in interface ITestNGMethodpublic void setDate(long date)
setDate in interface ITestNGMethodpublic void setId(String id)
setId in interface ITestNGMethodpublic void setIgnoreMissingDependencies(boolean ignore)
setIgnoreMissingDependencies in interface ITestNGMethodpublic void setInvocationCount(int count)
setInvocationCount in interface ITestNGMethodpublic void setMissingGroup(String group)
setMissingGroup in interface ITestNGMethodpublic void setParameterInvocationCount(int n)
setParameterInvocationCount in interface ITestNGMethodpublic void setRetryAnalyzer(IRetryAnalyzer retryAnalyzer)
setRetryAnalyzer in interface ITestNGMethodpublic void setSkipFailedInvocations(boolean skip)
setSkipFailedInvocations in interface ITestNGMethodpublic void setTestClass(ITestClass cls)
ITestNGMethodsetTestClass in interface ITestNGMethodcls - The test class having this method.public void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize in interface ITestNGMethodpublic boolean skipFailedInvocations()
skipFailedInvocations in interface ITestNGMethodpublic ClonedMethod clone()
clone in interface ITestNGMethodclone in class Objectpublic List<Integer> getInvocationNumbers()
ITestNGMethodgetInvocationNumbers in interface ITestNGMethodpublic void setInvocationNumbers(List<Integer> count)
setInvocationNumbers in interface ITestNGMethodpublic List<Integer> getFailedInvocationNumbers()
getFailedInvocationNumbers in interface ITestNGMethodpublic void addFailedInvocationNumber(int number)
ITestNGMethodaddFailedInvocationNumber 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.