Class DelegateTestNGMethod
java.lang.Object
io.trino.tempto.internal.initialization.DelegateTestNGMethod
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,org.testng.ITestNGMethod
- Direct Known Subclasses:
RequirementsAwareTestNGMethod
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFailedInvocationNumber(int number) voidaddMethodDependedUpon(String methodName) booleancanRunFromClass(org.testng.IClass testClass) abstract org.testng.ITestNGMethodclone()intfindMethodParameters(org.testng.xml.XmlTest test) String[]String[]org.testng.internal.ConstructorOrMethodintlonggetDate()booleanString[]String[]getId()long[]Object[]Deprecated.intlongDeprecated.String[]intintorg.testng.IRetryAnalyzerintorg.testng.ITestClassintlongintorg.testng.xml.XmlTestbooleanbooleanvoidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisTest()voidsetDate(long date) voidsetDescription(String description) voidvoidsetIgnoreMissingDependencies(boolean ignore) voidsetInvocationCount(int count) voidsetInvocationNumbers(List<Integer> numbers) voidsetMissingGroup(String group) voidsetMoreInvocationChecker(Callable<Boolean> moreInvocationChecker) voidsetParameterInvocationCount(int n) voidsetPriority(int priority) voidsetRetryAnalyzer(org.testng.IRetryAnalyzer retryAnalyzer) voidsetSkipFailedInvocations(boolean skip) voidsetTestClass(org.testng.ITestClass cls) voidsetThreadPoolSize(int threadPoolSize) voidsetTimeOut(long timeOut) booleantoString()
-
Field Details
-
delegate
protected final org.testng.ITestNGMethod delegate
-
-
Constructor Details
-
DelegateTestNGMethod
public DelegateTestNGMethod(org.testng.ITestNGMethod delegate)
-
-
Method Details
-
getRealClass
- Specified by:
getRealClassin interfaceorg.testng.ITestNGMethod
-
getTestClass
public org.testng.ITestClass getTestClass()- Specified by:
getTestClassin interfaceorg.testng.ITestNGMethod
-
setTestClass
public void setTestClass(org.testng.ITestClass cls) - Specified by:
setTestClassin interfaceorg.testng.ITestNGMethod
-
getMethod
Deprecated.- Specified by:
getMethodin interfaceorg.testng.ITestNGMethod
-
getMethodName
- Specified by:
getMethodNamein interfaceorg.testng.ITestNGMethod
-
getInstances
Deprecated.- Specified by:
getInstancesin interfaceorg.testng.ITestNGMethod
-
getInstance
- Specified by:
getInstancein interfaceorg.testng.ITestNGMethod
-
getInstanceHashCodes
public long[] getInstanceHashCodes()- Specified by:
getInstanceHashCodesin interfaceorg.testng.ITestNGMethod
-
getGroups
- Specified by:
getGroupsin interfaceorg.testng.ITestNGMethod
-
getGroupsDependedUpon
- Specified by:
getGroupsDependedUponin interfaceorg.testng.ITestNGMethod
-
getMissingGroup
- Specified by:
getMissingGroupin interfaceorg.testng.ITestNGMethod
-
setMissingGroup
- Specified by:
setMissingGroupin interfaceorg.testng.ITestNGMethod
-
getBeforeGroups
- Specified by:
getBeforeGroupsin interfaceorg.testng.ITestNGMethod
-
getAfterGroups
- Specified by:
getAfterGroupsin interfaceorg.testng.ITestNGMethod
-
getMethodsDependedUpon
- Specified by:
getMethodsDependedUponin interfaceorg.testng.ITestNGMethod
-
addMethodDependedUpon
- Specified by:
addMethodDependedUponin interfaceorg.testng.ITestNGMethod
-
isTest
public boolean isTest()- Specified by:
isTestin interfaceorg.testng.ITestNGMethod
-
isBeforeMethodConfiguration
public boolean isBeforeMethodConfiguration()- Specified by:
isBeforeMethodConfigurationin interfaceorg.testng.ITestNGMethod
-
isAfterMethodConfiguration
public boolean isAfterMethodConfiguration()- Specified by:
isAfterMethodConfigurationin interfaceorg.testng.ITestNGMethod
-
isBeforeClassConfiguration
public boolean isBeforeClassConfiguration()- Specified by:
isBeforeClassConfigurationin interfaceorg.testng.ITestNGMethod
-
isAfterClassConfiguration
public boolean isAfterClassConfiguration()- Specified by:
isAfterClassConfigurationin interfaceorg.testng.ITestNGMethod
-
isBeforeSuiteConfiguration
public boolean isBeforeSuiteConfiguration()- Specified by:
isBeforeSuiteConfigurationin interfaceorg.testng.ITestNGMethod
-
isAfterSuiteConfiguration
public boolean isAfterSuiteConfiguration()- Specified by:
isAfterSuiteConfigurationin interfaceorg.testng.ITestNGMethod
-
isBeforeTestConfiguration
public boolean isBeforeTestConfiguration()- Specified by:
isBeforeTestConfigurationin interfaceorg.testng.ITestNGMethod
-
isAfterTestConfiguration
public boolean isAfterTestConfiguration()- Specified by:
isAfterTestConfigurationin interfaceorg.testng.ITestNGMethod
-
isBeforeGroupsConfiguration
public boolean isBeforeGroupsConfiguration()- Specified by:
isBeforeGroupsConfigurationin interfaceorg.testng.ITestNGMethod
-
isAfterGroupsConfiguration
public boolean isAfterGroupsConfiguration()- Specified by:
isAfterGroupsConfigurationin interfaceorg.testng.ITestNGMethod
-
getTimeOut
public long getTimeOut()- Specified by:
getTimeOutin interfaceorg.testng.ITestNGMethod
-
setTimeOut
public void setTimeOut(long timeOut) - Specified by:
setTimeOutin interfaceorg.testng.ITestNGMethod
-
getInvocationCount
public int getInvocationCount()- Specified by:
getInvocationCountin interfaceorg.testng.ITestNGMethod
-
setInvocationCount
public void setInvocationCount(int count) - Specified by:
setInvocationCountin interfaceorg.testng.ITestNGMethod
-
getTotalInvocationCount
public int getTotalInvocationCount()- Specified by:
getTotalInvocationCountin interfaceorg.testng.ITestNGMethod
-
getSuccessPercentage
public int getSuccessPercentage()- Specified by:
getSuccessPercentagein interfaceorg.testng.ITestNGMethod
-
getId
- Specified by:
getIdin interfaceorg.testng.ITestNGMethod
-
setId
- Specified by:
setIdin interfaceorg.testng.ITestNGMethod
-
getDate
public long getDate()- Specified by:
getDatein interfaceorg.testng.ITestNGMethod
-
setDate
public void setDate(long date) - Specified by:
setDatein interfaceorg.testng.ITestNGMethod
-
canRunFromClass
public boolean canRunFromClass(org.testng.IClass testClass) - Specified by:
canRunFromClassin interfaceorg.testng.ITestNGMethod
-
isAlwaysRun
public boolean isAlwaysRun()- Specified by:
isAlwaysRunin interfaceorg.testng.ITestNGMethod
-
getThreadPoolSize
public int getThreadPoolSize()- Specified by:
getThreadPoolSizein interfaceorg.testng.ITestNGMethod
-
setThreadPoolSize
public void setThreadPoolSize(int threadPoolSize) - Specified by:
setThreadPoolSizein interfaceorg.testng.ITestNGMethod
-
getEnabled
public boolean getEnabled()- Specified by:
getEnabledin interfaceorg.testng.ITestNGMethod
-
getDescription
- Specified by:
getDescriptionin interfaceorg.testng.ITestNGMethod
-
setDescription
- Specified by:
setDescriptionin interfaceorg.testng.ITestNGMethod
-
incrementCurrentInvocationCount
public void incrementCurrentInvocationCount()- Specified by:
incrementCurrentInvocationCountin interfaceorg.testng.ITestNGMethod
-
getCurrentInvocationCount
public int getCurrentInvocationCount()- Specified by:
getCurrentInvocationCountin interfaceorg.testng.ITestNGMethod
-
setParameterInvocationCount
public void setParameterInvocationCount(int n) - Specified by:
setParameterInvocationCountin interfaceorg.testng.ITestNGMethod
-
getParameterInvocationCount
public int getParameterInvocationCount()- Specified by:
getParameterInvocationCountin interfaceorg.testng.ITestNGMethod
-
getRetryAnalyzer
public org.testng.IRetryAnalyzer getRetryAnalyzer()- Specified by:
getRetryAnalyzerin interfaceorg.testng.ITestNGMethod
-
setRetryAnalyzer
public void setRetryAnalyzer(org.testng.IRetryAnalyzer retryAnalyzer) - Specified by:
setRetryAnalyzerin interfaceorg.testng.ITestNGMethod
-
skipFailedInvocations
public boolean skipFailedInvocations()- Specified by:
skipFailedInvocationsin interfaceorg.testng.ITestNGMethod
-
setSkipFailedInvocations
public void setSkipFailedInvocations(boolean skip) - Specified by:
setSkipFailedInvocationsin interfaceorg.testng.ITestNGMethod
-
getInvocationTimeOut
public long getInvocationTimeOut()- Specified by:
getInvocationTimeOutin interfaceorg.testng.ITestNGMethod
-
ignoreMissingDependencies
public boolean ignoreMissingDependencies()- Specified by:
ignoreMissingDependenciesin interfaceorg.testng.ITestNGMethod
-
setIgnoreMissingDependencies
public void setIgnoreMissingDependencies(boolean ignore) - Specified by:
setIgnoreMissingDependenciesin interfaceorg.testng.ITestNGMethod
-
getInvocationNumbers
- Specified by:
getInvocationNumbersin interfaceorg.testng.ITestNGMethod
-
setInvocationNumbers
- Specified by:
setInvocationNumbersin interfaceorg.testng.ITestNGMethod
-
addFailedInvocationNumber
public void addFailedInvocationNumber(int number) - Specified by:
addFailedInvocationNumberin interfaceorg.testng.ITestNGMethod
-
getFailedInvocationNumbers
- Specified by:
getFailedInvocationNumbersin interfaceorg.testng.ITestNGMethod
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.testng.ITestNGMethod
-
setPriority
public void setPriority(int priority) - Specified by:
setPriorityin interfaceorg.testng.ITestNGMethod
-
getXmlTest
public org.testng.xml.XmlTest getXmlTest()- Specified by:
getXmlTestin interfaceorg.testng.ITestNGMethod
-
getConstructorOrMethod
public org.testng.internal.ConstructorOrMethod getConstructorOrMethod()- Specified by:
getConstructorOrMethodin interfaceorg.testng.ITestNGMethod
-
findMethodParameters
- Specified by:
findMethodParametersin interfaceorg.testng.ITestNGMethod
-
setMoreInvocationChecker
- Specified by:
setMoreInvocationCheckerin interfaceorg.testng.ITestNGMethod
-
hasMoreInvocation
public boolean hasMoreInvocation()- Specified by:
hasMoreInvocationin interfaceorg.testng.ITestNGMethod
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.testng.ITestNGMethod
-
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-
clone
public abstract org.testng.ITestNGMethod clone()
-