public class ConfigurationMethod extends BaseTestMethod
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_inheritGroupsFromTestClass |
private boolean |
m_isAfterClassConfiguration |
private boolean |
m_isAfterMethodConfiguration |
private boolean |
m_isAfterSuiteConfiguration |
private boolean |
m_isAfterTestConfiguration |
private boolean |
m_isBeforeClassConfiguration |
private boolean |
m_isBeforeMethodConfiguration |
private boolean |
m_isBeforeSuiteConfiguration |
private boolean |
m_isBeforeTestConfiguration |
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| Modifier | Constructor and Description |
|---|---|
private |
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,
boolean initialize,
java.lang.Object instance) |
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationMethod |
clone() |
static ITestNGMethod[] |
createAfterConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
static ITestNGMethod[] |
createBeforeConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
static ITestNGMethod[] |
createClassConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
private static ITestNGMethod[] |
createMethods(ITestNGMethod[] methods,
IAnnotationFinder finder,
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) |
static ITestNGMethod[] |
createSuiteConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
static ITestNGMethod[] |
createTestConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
static ITestNGMethod[] |
createTestMethodConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
java.lang.Object instance) |
private boolean |
inheritGroupsFromTestClass() |
private void |
init() |
boolean |
isAfterClassConfiguration() |
boolean |
isAfterGroupsConfiguration() |
boolean |
isAfterMethodConfiguration() |
boolean |
isAfterSuiteConfiguration() |
boolean |
isAfterTestConfiguration() |
boolean |
isBeforeClassConfiguration() |
boolean |
isBeforeGroupsConfiguration() |
boolean |
isBeforeMethodConfiguration() |
boolean |
isBeforeSuiteConfiguration() |
boolean |
isBeforeTestConfiguration() |
boolean |
isFirstTimeOnly() |
boolean |
isLastTimeOnly() |
private static void |
ppp(java.lang.String s) |
addFailedInvocationNumber, addMethodDependedUpon, canRunFromClass, 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, getQualifiedName, getRealClass, getRetryAnalyzer, getSignature, getSimpleName, getStringArray, getSuccessPercentage, getTestClass, getThreadPoolSize, getTimeOut, getTotalInvocationCount, getXmlTest, hashCode, hasMoreInvocation, ignoreMissingDependencies, incrementCurrentInvocationCount, initBeforeAfterGroups, initGroups, isAlwaysRun, isTest, setAlwaysRun, setDate, setDescription, setEnabled, setGroups, setGroupsDependedUpon, setId, setIgnoreMissingDependencies, setInvocationCount, setInvocationNumbers, setInvocationTimeOut, setMethodsDependedUpon, setMissingGroup, setMoreInvocationChecker, setParameterInvocationCount, setPriority, setRetryAnalyzer, setSkipFailedInvocations, setTestClass, setThreadPoolSize, setTimeOut, setXmlTest, skipFailedInvocations, toStringprivate final boolean m_isBeforeSuiteConfiguration
private final boolean m_isAfterSuiteConfiguration
private final boolean m_isBeforeTestConfiguration
private final boolean m_isAfterTestConfiguration
private final boolean m_isBeforeClassConfiguration
private final boolean m_isAfterClassConfiguration
private final boolean m_isBeforeMethodConfiguration
private final boolean m_isAfterMethodConfiguration
private boolean m_inheritGroupsFromTestClass
private 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, boolean initialize, java.lang.Object instance)
@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)
private static ITestNGMethod[] createMethods(ITestNGMethod[] methods, IAnnotationFinder finder, 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()
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 BaseTestMethodpublic boolean isAfterTestConfiguration()
BaseTestMethodisAfterTestConfiguration in interface ITestNGMethodisAfterTestConfiguration in class BaseTestMethodpublic boolean isBeforeGroupsConfiguration()
BaseTestMethodisBeforeGroupsConfiguration in interface ITestNGMethodisBeforeGroupsConfiguration in class BaseTestMethodpublic boolean isAfterGroupsConfiguration()
BaseTestMethodisAfterGroupsConfiguration in interface ITestNGMethodisAfterGroupsConfiguration in class BaseTestMethodprivate boolean inheritGroupsFromTestClass()
private void init()
private static void ppp(java.lang.String s)
public ConfigurationMethod clone()
clone in interface ITestNGMethodclone in class BaseTestMethodpublic boolean isFirstTimeOnly()
public boolean isLastTimeOnly()