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 |
ClonedMethod.getConstructorOrMethod() |
ConstructorOrMethod |
BaseTestMethod.getConstructorOrMethod() |
ConstructorOrMethod |
WrappedTestNGMethod.getConstructorOrMethod() |
Modifier and Type | Method and Description |
---|---|
static List<ConstructorOrMethod> |
ClassHelper.findDeclaredFactoryMethods(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 |
---|---|
protected static void |
MethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm,
ConstructorOrMethod method,
Object targetInstance,
Object[] params,
ITestResult testResult) |
Constructor and Description |
---|
BaseTestMethod(String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
Object instance) |
ConfigurationMethod(ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
String[] beforeGroups,
String[] afterGroups,
Object instance) |
FactoryMethod(ConstructorOrMethod com,
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,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory,
Map<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> |
IAnnotationFinder.findAnnotation(ConstructorOrMethod com,
Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ConstructorOrMethod com,
Class<A> annotationClass) |
static IConfigurationAnnotation |
AnnotationHelper.findConfiguration(IAnnotationFinder finder,
ConstructorOrMethod m) |
Modifier and Type | Class and Description |
---|---|
class |
JUnit4ConfigurationMethod |
class |
JUnit4SpockMethod |
Constructor and Description |
---|
JUnitTestMethod(JUnitTestClass owner,
ConstructorOrMethod method,
Object instance) |
JUnitTestMethod(JUnitTestClass owner,
String methodName,
ConstructorOrMethod method,
Object instance) |
Copyright © 2018. All rights reserved.