| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.internal.annotations | |
| org.testng.junit |
| Modifier and Type | Method | Description |
|---|---|---|
ConstructorOrMethod |
ITestNGMethod.getConstructorOrMethod() |
| Modifier and Type | Field | Description |
|---|---|---|
protected ConstructorOrMethod |
BaseTestMethod.m_method |
| Modifier and Type | Method | Description |
|---|---|---|
ConstructorOrMethod |
BaseTestMethod.getConstructorOrMethod() |
|
ConstructorOrMethod |
ClonedMethod.getConstructorOrMethod() |
|
ConstructorOrMethod |
WrappedTestNGMethod.getConstructorOrMethod() |
| Modifier and Type | Method | 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 | Description |
|---|---|---|
protected static void |
MethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm,
ConstructorOrMethod method,
java.lang.Object targetInstance,
java.lang.Object[] params,
ITestResult testResult) |
| Constructor | 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,
java.lang.Object instance) |
|
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 | Description |
|---|---|---|
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
|
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
|
static IConfigurationAnnotation |
AnnotationHelper.findConfiguration(IAnnotationFinder finder,
ConstructorOrMethod m) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JUnit4ConfigurationMethod |
|
class |
JUnit4SpockMethod |
| Constructor | Description |
|---|---|
JUnitTestMethod(JUnitTestClass owner,
java.lang.String methodName,
ConstructorOrMethod method,
java.lang.Object instance) |
|
JUnitTestMethod(JUnitTestClass owner,
ConstructorOrMethod method,
java.lang.Object instance) |