| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.internal.annotations | |
| org.testng.internal.invokers | |
| org.testng.internal.objects.pojo | |
| org.testng.junit |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationFinder |
ISuite.getAnnotationFinder() |
IAnnotationFinder |
SuiteRunner.getAnnotationFinder()
Returns the annotation finder for the given annotation type.
|
| Constructor and Description |
|---|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator,
DataProviderHolder otherHolder) |
| Modifier and Type | Field and Description |
|---|---|
protected IAnnotationFinder |
BaseTestMethod.m_annotationFinder |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationFinder |
IConfiguration.getAnnotationFinder() |
IAnnotationFinder |
Configuration.getAnnotationFinder() |
protected IAnnotationFinder |
BaseTestMethod.getAnnotationFinder() |
| Modifier and Type | Method and Description |
|---|---|
static ITestNGMethod[] |
MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods,
boolean forTests,
RunInfo runInfo,
IAnnotationFinder finder,
boolean unique,
List<ITestNGMethod> outExcludedMethods,
Comparator<ITestNGMethod> comparator)
Collects and orders test or configuration methods
|
static ITestNGMethod[] |
ConfigurationMethod.createAfterConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createBeforeConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createClassConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
XmlTest xmlTest,
Object instance) |
static Object[] |
Parameters.createConfigurationParameters(Method m,
Map<String,String> params,
Object[] parameterValues,
ITestNGMethod currentTestMethod,
IAnnotationFinder finder,
XmlSuite xmlSuite,
ITestContext ctx,
ITestResult testResult)
Creates the parameters needed for the specified
@Configuration Method
. |
static Object[] |
Parameters.createInstantiationParameters(Constructor<?> ctor,
String methodAnnotation,
IAnnotationFinder finder,
String[] parameterNames,
Map<String,String> params,
XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.
|
static ITestNGMethod[] |
ConfigurationMethod.createSuiteConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
XmlTest xmlTest,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestMethodConfigurationMethods(ITestObjectFactory objectFactory,
ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
XmlTest xmlTest,
Object instance) |
static TestListenerHelper.ListenerHolder |
TestListenerHelper.findAllListeners(Class<?> cls,
IAnnotationFinder finder) |
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.
|
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
static ParameterHolder |
Parameters.handleParameters(ITestObjectFactory objectFactory,
ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
Object fedInstance,
DataProviderHolder holder)
If the method has parameters, fill them in.
|
static ParameterHolder |
Parameters.handleParameters(ITestObjectFactory objectFactory,
ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
Object fedInstance,
DataProviderHolder holder,
String annotationName)
If the method has parameters, fill them in.
|
static boolean |
MethodHelper.isEnabled(Class<?> objectClass,
IAnnotationFinder finder) |
static boolean |
MethodHelper.isEnabled(Method m,
IAnnotationFinder finder) |
void |
IConfiguration.setAnnotationFinder(IAnnotationFinder finder) |
void |
Configuration.setAnnotationFinder(IAnnotationFinder finder) |
| Constructor and Description |
|---|
BaseTestMethod(ITestObjectFactory objectFactory,
String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
Object instance) |
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
Configuration(IAnnotationFinder finder) |
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) |
RegexpExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method) |
TestNGMethod(ITestObjectFactory objectFactory,
Method method,
IAnnotationFinder finder,
XmlTest xmlTest,
Object instance)
Constructs a
TestNGMethod |
TestNGMethodFinder(ITestObjectFactory objectFactory,
RunInfo runInfo,
IAnnotationFinder annotationFinder) |
TestNGMethodFinder(ITestObjectFactory objectFactory,
RunInfo runInfo,
IAnnotationFinder annotationFinder,
Comparator<ITestNGMethod> comparator) |
| Modifier and Type | Class and Description |
|---|---|
class |
JDK15AnnotationFinder
This class implements IAnnotationFinder with JDK5 annotations
|
| Modifier and Type | Field and Description |
|---|---|
protected IAnnotationFinder |
ExpectedExceptionsHolder.finder |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationFinder |
AbstractParallelWorker.Arguments.getFinder() |
| Modifier and Type | Method and Description |
|---|---|
AbstractParallelWorker.Arguments.Builder |
AbstractParallelWorker.Arguments.Builder.finder(IAnnotationFinder finder) |
static Iterator<Object[]> |
MethodInvocationHelper.invokeDataProvider(Object instance,
Method dataProvider,
ITestNGMethod method,
ITestContext testContext,
Object fedInstance,
IAnnotationFinder annotationFinder) |
| Constructor and Description |
|---|
ExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method,
IExpectedExceptionsHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationFinder |
DetailedAttributes.getFinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
DetailedAttributes.setFinder(IAnnotationFinder finder) |
| Constructor and Description |
|---|
JUnitMethodFinder(ITestObjectFactory objectFactory,
IAnnotationFinder finder) |
Copyright © 2025. All rights reserved.