public class ConfigurationMethod extends BaseTestMethod
m_afterGroups, m_annotationFinder, m_beforeGroups, m_currentInvocationCount, m_date, m_groups, m_groupsDependedUpon, m_id, m_method, m_methodClass, m_methodsDependedUpon, m_objectFactory, m_testClass| Constructor and Description |
|---|
ConfigurationMethod(ITestObjectFactory objectFactory,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
String[] beforeGroups,
String[] afterGroups,
XmlTest xmlTest,
Object instance) |
addFailedInvocationNumber, addMethodDependedUpon, canRunFromClass, equals, findMethodParameters, getAfterGroups, getAnnotationFinder, getBeforeGroups, getConstructorOrMethod, getCurrentInvocationCount, getDate, getDescription, getEnabled, getFailedInvocationNumbers, getGroups, getGroupsDependedUpon, getIClass, getId, getInstance, getInstanceHashCodes, getInterceptedPriority, getInvocationCount, getInvocationNumbers, getInvocationTime, getInvocationTimeOut, getMethodName, getMethodsDependedUpon, getMissingGroup, getParameterInvocationCount, getParameterTypes, getPriority, getQualifiedName, getRealClass, getRetryAnalyzer, getRetryAnalyzerClass, getSignature, getSimpleName, getStringArray, getSuccessPercentage, getTestClass, getThreadPoolSize, getTimeOut, getXmlTest, hashCode, hasMoreInvocation, ignoreMissingDependencies, incrementCurrentInvocationCount, initBeforeAfterGroups, initGroups, isAlwaysRun, isTest, setAlwaysRun, setDate, setDescription, setEnabled, setGroups, setGroupsDependedUpon, setId, setIgnoreMissingDependencies, setInterceptedPriority, setInvocationCount, setInvocationNumbers, setInvocationTimeOut, setInvokedAt, setMethodsDependedUpon, setMissingGroup, setMoreInvocationChecker, setParameterInvocationCount, setPriority, setRetryAnalyzerClass, setSkipFailedInvocations, setTestClass, setThreadPoolSize, setTimeOut, setXmlTest, skipFailedInvocations, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetAttributes, getDataProviderMethod, isDataDrivenpublic ConfigurationMethod(ITestObjectFactory objectFactory, ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, String[] beforeGroups, String[] afterGroups, XmlTest xmlTest, Object instance)
public IParameterInfo getFactoryMethodParamsInfo()
getFactoryMethodParamsInfo in interface ITestNGMethodgetFactoryMethodParamsInfo in class BaseTestMethodIParameterInfo object that represents details about the parameters
associated with the factory method.public static ITestNGMethod[] createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance)
public static ITestNGMethod[] createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance)
public static ITestNGMethod[] createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance)
public static ITestNGMethod[] createBeforeConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance)
public static ITestNGMethod[] createAfterConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance)
public static ITestNGMethod[] createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance)
public boolean isAfterClassConfiguration()
BaseTestMethodisAfterClassConfiguration in interface ITestNGMethodisAfterClassConfiguration in class BaseTestMethodpublic boolean isAfterMethodConfiguration()
BaseTestMethodisAfterMethodConfiguration in interface ITestNGMethodisAfterMethodConfiguration in class BaseTestMethodpublic boolean isBeforeClassConfiguration()
BaseTestMethodisBeforeClassConfiguration in interface ITestNGMethodisBeforeClassConfiguration in class BaseTestMethodpublic boolean isBeforeMethodConfiguration()
BaseTestMethodisBeforeMethodConfiguration in interface ITestNGMethodisBeforeMethodConfiguration in class BaseTestMethodpublic boolean isAfterSuiteConfiguration()
BaseTestMethodisAfterSuiteConfiguration in interface ITestNGMethodisAfterSuiteConfiguration in class BaseTestMethodpublic boolean isBeforeSuiteConfiguration()
BaseTestMethodisBeforeSuiteConfiguration in interface ITestNGMethodisBeforeSuiteConfiguration in class BaseTestMethodpublic boolean isBeforeTestConfiguration()
BaseTestMethodisBeforeTestConfiguration in interface ITestNGMethodisBeforeTestConfiguration in class BaseTestMethodtrue if this method is a @BeforeTest (@Configuration beforeTest=true)public boolean isAfterTestConfiguration()
BaseTestMethodisAfterTestConfiguration in interface ITestNGMethodisAfterTestConfiguration in class BaseTestMethodtrue if this method is an @AfterTest (@Configuration afterTest=true)public boolean isBeforeGroupsConfiguration()
BaseTestMethodisBeforeGroupsConfiguration in interface ITestNGMethodisBeforeGroupsConfiguration in class BaseTestMethodpublic boolean hasBeforeGroupsConfiguration()
public boolean hasAfterGroupsConfiguration()
public boolean isAfterGroupsConfiguration()
BaseTestMethodisAfterGroupsConfiguration in interface ITestNGMethodisAfterGroupsConfiguration in class BaseTestMethodpublic ConfigurationMethod clone()
clone in interface ITestNGMethodclone in class BaseTestMethodpublic boolean isFirstTimeOnly()
public boolean isLastTimeOnly()
public String[] getGroupFilters()
Copyright © 2025. All rights reserved.