public class ConfigurationMethod extends BaseTestMethod
DATE_COMPARATOR, m_afterGroups, m_annotationFinder, m_beforeGroups, m_currentInvocationCount, m_date, m_groups, m_groupsDependedUpon, m_id, m_method, m_methodClass, m_methodsDependedUpon, m_testClass
Constructor and Description |
---|
ConfigurationMethod(ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups,
java.lang.Object instance) |
ConfigurationMethod(java.lang.reflect.Method method,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups,
java.lang.Object instance)
Deprecated.
use #ConfigurationMethod(ConstructorOrMethod,...) instead.
|
addFailedInvocationNumber, addMethodDependedUpon, canRunFromClass, compareTo, equals, findMethodParameters, getAfterGroups, getAnnotationFinder, getBeforeGroups, getConstructorOrMethod, getCurrentInvocationCount, getDate, getDescription, getEnabled, getFailedInvocationNumbers, getGroups, getGroupsDependedUpon, getIClass, getId, getInstance, getInstanceHashCodes, getInstances, getInvocationCount, getInvocationNumbers, getInvocationTimeOut, getMethod, getMethodName, getMethodsDependedUpon, getMissingGroup, getParameterInvocationCount, getPriority, getRealClass, getRetryAnalyzer, getSignature, getStringArray, getSuccessPercentage, getTestClass, getThreadPoolSize, getTimeOut, getTotalInvocationCount, getXmlTest, hashCode, ignoreMissingDependencies, incrementCurrentInvocationCount, initGroups, isAlwaysRun, isTest, setAlwaysRun, setDate, setDescription, setEnabled, setGroups, setGroupsDependedUpon, setId, setIgnoreMissingDependencies, setInvocationCount, setInvocationNumbers, setInvocationTimeOut, setMethodsDependedUpon, setMissingGroup, setParameterInvocationCount, setPriority, setRetryAnalyzer, setSkipFailedInvocations, setTestClass, setThreadPoolSize, setTimeOut, setXmlTest, skipFailedInvocations, toString
@Deprecated public ConfigurationMethod(java.lang.reflect.Method method, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, java.lang.String[] beforeGroups, java.lang.String[] afterGroups, java.lang.Object instance)
public ConfigurationMethod(ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, java.lang.String[] beforeGroups, java.lang.String[] afterGroups, java.lang.Object instance)
public static ITestNGMethod[] createSuiteConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public static ITestNGMethod[] createTestConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public static ITestNGMethod[] createClassConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public static ITestNGMethod[] createBeforeConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public static ITestNGMethod[] createAfterConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public static ITestNGMethod[] createTestMethodConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, java.lang.Object instance)
public boolean isAfterClassConfiguration()
BaseTestMethod
isAfterClassConfiguration
in interface ITestNGMethod
isAfterClassConfiguration
in class BaseTestMethod
public boolean isAfterMethodConfiguration()
BaseTestMethod
isAfterMethodConfiguration
in interface ITestNGMethod
isAfterMethodConfiguration
in class BaseTestMethod
public boolean isBeforeClassConfiguration()
BaseTestMethod
isBeforeClassConfiguration
in interface ITestNGMethod
isBeforeClassConfiguration
in class BaseTestMethod
public boolean isBeforeMethodConfiguration()
BaseTestMethod
isBeforeMethodConfiguration
in interface ITestNGMethod
isBeforeMethodConfiguration
in class BaseTestMethod
public boolean isAfterSuiteConfiguration()
BaseTestMethod
isAfterSuiteConfiguration
in interface ITestNGMethod
isAfterSuiteConfiguration
in class BaseTestMethod
public boolean isBeforeSuiteConfiguration()
BaseTestMethod
isBeforeSuiteConfiguration
in interface ITestNGMethod
isBeforeSuiteConfiguration
in class BaseTestMethod
public boolean isBeforeTestConfiguration()
BaseTestMethod
isBeforeTestConfiguration
in interface ITestNGMethod
isBeforeTestConfiguration
in class BaseTestMethod
public boolean isAfterTestConfiguration()
BaseTestMethod
isAfterTestConfiguration
in interface ITestNGMethod
isAfterTestConfiguration
in class BaseTestMethod
public boolean isBeforeGroupsConfiguration()
BaseTestMethod
isBeforeGroupsConfiguration
in interface ITestNGMethod
isBeforeGroupsConfiguration
in class BaseTestMethod
public boolean isAfterGroupsConfiguration()
BaseTestMethod
isAfterGroupsConfiguration
in interface ITestNGMethod
isAfterGroupsConfiguration
in class BaseTestMethod
public ConfigurationMethod clone()
clone
in interface ITestNGMethod
clone
in class BaseTestMethod
public boolean isFirstTimeOnly()
public boolean isLastTimeOnly()