public class CustomTestNGMethod extends Object implements org.testng.ITestNGMethod
Constructor and Description |
---|
CustomTestNGMethod(org.testng.ITestNGMethod originalTestNGMethod,
ISimpleTest testDetails) |
public CustomTestNGMethod(org.testng.ITestNGMethod originalTestNGMethod, ISimpleTest testDetails)
public org.testng.ITestNGMethod clone()
public int compareTo(Object o)
compareTo
in interface Comparable
public Class getRealClass()
getRealClass
in interface org.testng.ITestNGMethod
public org.testng.ITestClass getTestClass()
getTestClass
in interface org.testng.ITestNGMethod
public void setTestClass(org.testng.ITestClass cls)
setTestClass
in interface org.testng.ITestNGMethod
@Deprecated public Method getMethod()
getMethod
in interface org.testng.ITestNGMethod
public String getMethodName()
getMethodName
in interface org.testng.ITestNGMethod
@Deprecated public Object[] getInstances()
getInstances
in interface org.testng.ITestNGMethod
public Object getInstance()
getInstance
in interface org.testng.ITestNGMethod
public long[] getInstanceHashCodes()
getInstanceHashCodes
in interface org.testng.ITestNGMethod
public String[] getGroups()
getGroups
in interface org.testng.ITestNGMethod
public String[] getGroupsDependedUpon()
getGroupsDependedUpon
in interface org.testng.ITestNGMethod
public String getMissingGroup()
getMissingGroup
in interface org.testng.ITestNGMethod
public void setMissingGroup(String group)
setMissingGroup
in interface org.testng.ITestNGMethod
public String[] getBeforeGroups()
getBeforeGroups
in interface org.testng.ITestNGMethod
public String[] getAfterGroups()
getAfterGroups
in interface org.testng.ITestNGMethod
public String[] getMethodsDependedUpon()
getMethodsDependedUpon
in interface org.testng.ITestNGMethod
public void addMethodDependedUpon(String methodName)
addMethodDependedUpon
in interface org.testng.ITestNGMethod
public boolean isTest()
isTest
in interface org.testng.ITestNGMethod
public boolean isBeforeMethodConfiguration()
isBeforeMethodConfiguration
in interface org.testng.ITestNGMethod
public boolean isAfterMethodConfiguration()
isAfterMethodConfiguration
in interface org.testng.ITestNGMethod
public boolean isBeforeClassConfiguration()
isBeforeClassConfiguration
in interface org.testng.ITestNGMethod
public boolean isAfterClassConfiguration()
isAfterClassConfiguration
in interface org.testng.ITestNGMethod
public boolean isBeforeSuiteConfiguration()
isBeforeSuiteConfiguration
in interface org.testng.ITestNGMethod
public boolean isAfterSuiteConfiguration()
isAfterSuiteConfiguration
in interface org.testng.ITestNGMethod
public boolean isBeforeTestConfiguration()
isBeforeTestConfiguration
in interface org.testng.ITestNGMethod
public boolean isAfterTestConfiguration()
isAfterTestConfiguration
in interface org.testng.ITestNGMethod
public boolean isBeforeGroupsConfiguration()
isBeforeGroupsConfiguration
in interface org.testng.ITestNGMethod
public boolean isAfterGroupsConfiguration()
isAfterGroupsConfiguration
in interface org.testng.ITestNGMethod
public long getTimeOut()
getTimeOut
in interface org.testng.ITestNGMethod
public void setTimeOut(long timeOut)
setTimeOut
in interface org.testng.ITestNGMethod
public int getInvocationCount()
getInvocationCount
in interface org.testng.ITestNGMethod
public void setInvocationCount(int count)
setInvocationCount
in interface org.testng.ITestNGMethod
public int getSuccessPercentage()
getSuccessPercentage
in interface org.testng.ITestNGMethod
public String getId()
getId
in interface org.testng.ITestNGMethod
public void setId(String id)
setId
in interface org.testng.ITestNGMethod
public long getDate()
getDate
in interface org.testng.ITestNGMethod
public void setDate(long date)
setDate
in interface org.testng.ITestNGMethod
public boolean canRunFromClass(org.testng.IClass testClass)
canRunFromClass
in interface org.testng.ITestNGMethod
public boolean isAlwaysRun()
isAlwaysRun
in interface org.testng.ITestNGMethod
public int getThreadPoolSize()
getThreadPoolSize
in interface org.testng.ITestNGMethod
public void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize
in interface org.testng.ITestNGMethod
public boolean getEnabled()
getEnabled
in interface org.testng.ITestNGMethod
public String getDescription()
getDescription
in interface org.testng.ITestNGMethod
public void incrementCurrentInvocationCount()
incrementCurrentInvocationCount
in interface org.testng.ITestNGMethod
public int getCurrentInvocationCount()
getCurrentInvocationCount
in interface org.testng.ITestNGMethod
public void setParameterInvocationCount(int n)
setParameterInvocationCount
in interface org.testng.ITestNGMethod
public int getParameterInvocationCount()
getParameterInvocationCount
in interface org.testng.ITestNGMethod
public org.testng.IRetryAnalyzer getRetryAnalyzer()
getRetryAnalyzer
in interface org.testng.ITestNGMethod
public void setRetryAnalyzer(org.testng.IRetryAnalyzer retryAnalyzer)
setRetryAnalyzer
in interface org.testng.ITestNGMethod
public boolean skipFailedInvocations()
skipFailedInvocations
in interface org.testng.ITestNGMethod
public void setSkipFailedInvocations(boolean skip)
setSkipFailedInvocations
in interface org.testng.ITestNGMethod
public long getInvocationTimeOut()
getInvocationTimeOut
in interface org.testng.ITestNGMethod
public boolean ignoreMissingDependencies()
ignoreMissingDependencies
in interface org.testng.ITestNGMethod
public void setIgnoreMissingDependencies(boolean ignore)
setIgnoreMissingDependencies
in interface org.testng.ITestNGMethod
public List<Integer> getInvocationNumbers()
getInvocationNumbers
in interface org.testng.ITestNGMethod
public void setInvocationNumbers(List<Integer> numbers)
setInvocationNumbers
in interface org.testng.ITestNGMethod
public void addFailedInvocationNumber(int number)
addFailedInvocationNumber
in interface org.testng.ITestNGMethod
public List<Integer> getFailedInvocationNumbers()
getFailedInvocationNumbers
in interface org.testng.ITestNGMethod
public int getPriority()
getPriority
in interface org.testng.ITestNGMethod
public void setPriority(int priority)
setPriority
in interface org.testng.ITestNGMethod
public org.testng.xml.XmlTest getXmlTest()
getXmlTest
in interface org.testng.ITestNGMethod
public org.testng.internal.ConstructorOrMethod getConstructorOrMethod()
getConstructorOrMethod
in interface org.testng.ITestNGMethod
public Map<String,String> findMethodParameters(org.testng.xml.XmlTest test)
findMethodParameters
in interface org.testng.ITestNGMethod
Copyright © 2014. All rights reserved.