| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.internal.annotations | |
| org.testng.internal.invokers | |
| 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 |
LiteWeightTestNGMethod.getConstructorOrMethod() |
ConstructorOrMethod |
WrappedTestNGMethod.getConstructorOrMethod() |
ConstructorOrMethod |
ClonedMethod.getConstructorOrMethod() |
ConstructorOrMethod |
BaseTestMethod.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.
|
| Constructor and Description |
|---|
BaseTestMethod(ITestObjectFactory objectFactory,
String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
Object instance) |
ConfigurationMethod(ITestObjectFactory objectFactory,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
String[] beforeGroups,
String[] afterGroups,
XmlTest xmlTest,
Object instance) |
| 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 | Method and Description |
|---|---|
protected static void |
MethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm,
ConstructorOrMethod method,
Object targetInstance,
Object[] params,
ITestResult testResult) |
| Modifier and Type | Class and Description |
|---|---|
class |
JUnit4ConfigurationMethod |
class |
JUnit4SpockMethod |
| Constructor and Description |
|---|
JUnitTestMethod(ITestObjectFactory objectFactory,
JUnitTestClass owner,
ConstructorOrMethod method,
Object instance) |
JUnitTestMethod(ITestObjectFactory objectFactory,
JUnitTestClass owner,
String methodName,
ConstructorOrMethod method,
Object instance) |
Copyright © 2025. All rights reserved.