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 ITestNGMethod
public boolean canRunFromClass(IClass testClass)
ITestNGMethod
canRunFromClass
in interface ITestNGMethod
public String[] getAfterGroups()
getAfterGroups
in interface ITestNGMethod
public String[] getBeforeGroups()
ITestNGMethod
getBeforeGroups
in interface ITestNGMethod
public int getCurrentInvocationCount()
getCurrentInvocationCount
in interface ITestNGMethod
public long getDate()
getDate
in interface ITestNGMethod
public String getDescription()
getDescription
in interface ITestNGMethod
public void setDescription(String description)
setDescription
in interface ITestNGMethod
public boolean getEnabled()
getEnabled
in interface ITestNGMethod
public String[] getGroups()
getGroups
in interface ITestNGMethod
public String[] getGroupsDependedUpon()
getGroupsDependedUpon
in interface ITestNGMethod
public String getId()
getId
in interface ITestNGMethod
public long[] getInstanceHashCodes()
ITestNGMethod
getInstanceHashCodes
in interface ITestNGMethod
public Object[] getInstances()
getInstances
in interface ITestNGMethod
public Object getInstance()
getInstance
in interface ITestNGMethod
public int getInvocationCount()
getInvocationCount
in interface ITestNGMethod
public int getTotalInvocationCount()
getTotalInvocationCount
in interface ITestNGMethod
public long getInvocationTimeOut()
ITestNGMethod
getInvocationTimeOut
in interface ITestNGMethod
public Method getMethod()
getMethod
in interface ITestNGMethod
public String getMethodName()
ITestNGMethod
getMethodName
in interface ITestNGMethod
public String[] getMethodsDependedUpon()
getMethodsDependedUpon
in interface ITestNGMethod
public String getMissingGroup()
ITestNGMethod
getMissingGroup
in interface ITestNGMethod
public int getParameterInvocationCount()
getParameterInvocationCount
in interface ITestNGMethod
public void setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker)
setMoreInvocationChecker
in interface ITestNGMethod
public boolean hasMoreInvocation()
hasMoreInvocation
in interface ITestNGMethod
public Class getRealClass()
getRealClass
in interface ITestNGMethod
public IRetryAnalyzer getRetryAnalyzer()
getRetryAnalyzer
in interface ITestNGMethod
public int getSuccessPercentage()
getSuccessPercentage
in interface ITestNGMethod
public ITestClass getTestClass()
getTestClass
in interface ITestNGMethod
public int getThreadPoolSize()
getThreadPoolSize
in interface ITestNGMethod
public long getTimeOut()
getTimeOut
in interface ITestNGMethod
public void setTimeOut(long timeOut)
setTimeOut
in interface ITestNGMethod
public boolean ignoreMissingDependencies()
ignoreMissingDependencies
in interface ITestNGMethod
public void incrementCurrentInvocationCount()
incrementCurrentInvocationCount
in interface ITestNGMethod
public boolean isAfterClassConfiguration()
isAfterClassConfiguration
in interface ITestNGMethod
public boolean isAfterGroupsConfiguration()
isAfterGroupsConfiguration
in interface ITestNGMethod
public boolean isAfterMethodConfiguration()
isAfterMethodConfiguration
in interface ITestNGMethod
public boolean isAfterSuiteConfiguration()
isAfterSuiteConfiguration
in interface ITestNGMethod
public boolean isAfterTestConfiguration()
isAfterTestConfiguration
in interface ITestNGMethod
public boolean isAlwaysRun()
isAlwaysRun
in interface ITestNGMethod
public boolean isBeforeClassConfiguration()
isBeforeClassConfiguration
in interface ITestNGMethod
public boolean isBeforeGroupsConfiguration()
isBeforeGroupsConfiguration
in interface ITestNGMethod
public boolean isBeforeMethodConfiguration()
isBeforeMethodConfiguration
in interface ITestNGMethod
public boolean isBeforeSuiteConfiguration()
isBeforeSuiteConfiguration
in interface ITestNGMethod
public boolean isBeforeTestConfiguration()
isBeforeTestConfiguration
in interface ITestNGMethod
public boolean isTest()
isTest
in interface ITestNGMethod
public void setDate(long date)
setDate
in interface ITestNGMethod
public void setId(String id)
setId
in interface ITestNGMethod
public void setIgnoreMissingDependencies(boolean ignore)
setIgnoreMissingDependencies
in interface ITestNGMethod
public void setInvocationCount(int count)
setInvocationCount
in interface ITestNGMethod
public void setMissingGroup(String group)
setMissingGroup
in interface ITestNGMethod
public void setParameterInvocationCount(int n)
setParameterInvocationCount
in interface ITestNGMethod
public void setRetryAnalyzer(IRetryAnalyzer retryAnalyzer)
setRetryAnalyzer
in interface ITestNGMethod
public void setSkipFailedInvocations(boolean skip)
setSkipFailedInvocations
in interface ITestNGMethod
public void setTestClass(ITestClass cls)
ITestNGMethod
setTestClass
in interface ITestNGMethod
cls
- The test class having this method.public void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize
in interface ITestNGMethod
public boolean skipFailedInvocations()
skipFailedInvocations
in interface ITestNGMethod
public ClonedMethod clone()
clone
in interface ITestNGMethod
clone
in class Object
public List<Integer> getInvocationNumbers()
ITestNGMethod
getInvocationNumbers
in interface ITestNGMethod
public void setInvocationNumbers(List<Integer> count)
setInvocationNumbers
in interface ITestNGMethod
public List<Integer> getFailedInvocationNumbers()
getFailedInvocationNumbers
in interface ITestNGMethod
public void addFailedInvocationNumber(int number)
ITestNGMethod
addFailedInvocationNumber
in interface ITestNGMethod
public int getPriority()
ITestNGMethod
getPriority
in interface ITestNGMethod
public void setPriority(int priority)
setPriority
in interface ITestNGMethod
public XmlTest getXmlTest()
getXmlTest
in interface ITestNGMethod
public ConstructorOrMethod getConstructorOrMethod()
getConstructorOrMethod
in interface ITestNGMethod
public Map<String,String> findMethodParameters(XmlTest test)
findMethodParameters
in interface ITestNGMethod
public String getQualifiedName()
ITestNGMethod
getQualifiedName
in interface ITestNGMethod
Copyright © 2024. All rights reserved.