Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit |
Modifier and Type | Method and Description |
---|---|
ConstructorOrMethod |
ITestNGMethod.getConstructorOrMethod() |
Modifier and Type | Field and Description |
---|---|
protected ConstructorOrMethod |
BaseTestMethod.m_method |
Modifier and Type | Method and Description |
---|---|
ConstructorOrMethod |
WrappedTestNGMethod.getConstructorOrMethod() |
ConstructorOrMethod |
BaseTestMethod.getConstructorOrMethod() |
ConstructorOrMethod |
ClonedMethod.getConstructorOrMethod() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConstructorOrMethod> |
ClassHelper.findDeclaredFactoryMethods(java.lang.Class<?> cls,
IAnnotationFinder finder)
For the given class, returns the method annotated with @Factory or null
if none is found.
|
Modifier and Type | Method and Description |
---|---|
private IConfigurable |
Invoker.computeConfigurableInstance(ConstructorOrMethod method,
java.lang.Object targetInstance) |
private static IDataProviderMethod |
Parameters.findDataProvider(java.lang.Object instance,
ITestClass clazz,
ConstructorOrMethod m,
IAnnotationFinder finder,
ITestContext context) |
private static IDataProvidable |
Parameters.findDataProviderInfo(ITestClass clazz,
ConstructorOrMethod m,
IAnnotationFinder finder)
Find the data provider info (data provider name and class) on either @Test(dataProvider),
|
private void |
FactoryMethod.init(java.lang.Object instance,
IAnnotationFinder annotationFinder,
ConstructorOrMethod com) |
protected static void |
MethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm,
ConstructorOrMethod method,
java.lang.Object targetInstance,
java.lang.Object[] params,
ITestResult testResult) |
private ClassInfoMap |
TestNGClassFinder.processFactory(IClass ic,
ConstructorOrMethod factoryMethod) |
private void |
TestNGClassFinder.processMethod(IConfiguration configuration,
IClass ic,
ConstructorOrMethod factoryMethod) |
Constructor and Description |
---|
BaseTestMethod(java.lang.String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
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,
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) |
FactoryMethod(ConstructorOrMethod com,
java.lang.Object instance,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
FactoryMethod(ConstructorOrMethod com,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
FactoryMethod(ConstructorOrMethod com,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
Modifier and Type | Method and Description |
---|---|
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
static IConfigurationAnnotation |
AnnotationHelper.findConfiguration(IAnnotationFinder finder,
ConstructorOrMethod m) |
Modifier and Type | Class and Description |
---|---|
class |
JUnit4ConfigurationMethod |
class |
JUnit4SpockMethod |
Modifier and Type | Method and Description |
---|---|
private static ConstructorOrMethod |
JUnit4TestMethod.getMethod(org.junit.runner.Description desc) |
private static ConstructorOrMethod |
JUnit3TestMethod.getMethod(junit.framework.Test t) |
Modifier and Type | Method and Description |
---|---|
boolean |
INameFilter.accept(ConstructorOrMethod method) |
Constructor and Description |
---|
JUnitTestMethod(JUnitTestClass owner,
ConstructorOrMethod method,
java.lang.Object instance) |
JUnitTestMethod(JUnitTestClass owner,
java.lang.String methodName,
ConstructorOrMethod method,
java.lang.Object instance) |