Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
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,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
Modifier and Type | Field and Description |
---|---|
protected IAnnotationFinder |
ExpectedExceptionsHolder.finder |
protected IAnnotationFinder |
BaseTestMethod.m_annotationFinder |
Modifier and Type | Method and Description |
---|---|
protected IAnnotationFinder |
BaseTestMethod.getAnnotationFinder() |
IAnnotationFinder |
IConfiguration.getAnnotationFinder() |
IAnnotationFinder |
Configuration.getAnnotationFinder() |
IAnnotationFinder |
AbstractParallelWorker.Arguments.getFinder() |
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(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createBeforeConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createClassConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
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 |
ClassHelper.createInstance(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
ITestObjectFactory objectFactory)
Create an instance for the given class.
|
static Object |
ClassHelper.createInstance1(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
IObjectFactory objectFactory) |
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(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestMethodConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static String[] |
Utils.dependentGroupsForThisMethodForConfiguration(Method m,
IAnnotationFinder finder)
Deprecated.
Unused
|
static String[] |
Utils.dependentGroupsForThisMethodForTest(Method m,
IAnnotationFinder finder)
Deprecated.
Unused
|
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.
|
AbstractParallelWorker.Arguments.Builder |
AbstractParallelWorker.Arguments.Builder.finder(IAnnotationFinder finder) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This method stands deprecated as of TestNG v6.13
|
static String[] |
Utils.groupsForThisMethodForConfiguration(Method m,
IAnnotationFinder finder)
Deprecated.
Unused
|
static String[] |
Utils.groupsForThisMethodForTest(Method m,
IAnnotationFinder finder)
Deprecated.
Unused
|
static ParameterHolder |
Parameters.handleParameters(ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
Object fedInstance)
If the method has parameters, fill them in.
|
static ParameterHolder |
Parameters.handleParameters(ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
Object fedInstance,
Collection<IDataProviderListener> dataProviderListeners)
If the method has parameters, fill them in.
|
protected static Iterator<Object[]> |
MethodInvocationHelper.invokeDataProvider(Object instance,
Method dataProvider,
ITestNGMethod method,
ITestContext testContext,
Object fedInstance,
IAnnotationFinder annotationFinder) |
protected static boolean |
MethodHelper.isEnabled(Class<?> objectClass,
IAnnotationFinder finder) |
protected static boolean |
MethodHelper.isEnabled(Method m,
IAnnotationFinder finder) |
void |
IConfiguration.setAnnotationFinder(IAnnotationFinder finder) |
void |
Configuration.setAnnotationFinder(IAnnotationFinder finder) |
Constructor and Description |
---|
BaseTestMethod(String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
Object instance) |
BaseTestMethod(String methodName,
Method method,
IAnnotationFinder annotationFinder,
Object instance)
Constructs a
BaseTestMethod TODO cquezel JavaDoc. |
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
Configuration(IAnnotationFinder finder) |
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) |
ConfigurationMethod(Method method,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
String[] beforeGroups,
String[] afterGroups,
Object instance)
Deprecated.
use #ConfigurationMethod(ConstructorOrMethod,...) instead.
|
ExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method,
IExpectedExceptionsHolder holder) |
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
|
RegexpExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method) |
TestNGMethod(Method method,
IAnnotationFinder finder,
XmlTest xmlTest,
Object instance)
Constructs a
TestNGMethod |
TestNGMethodFinder(RunInfo runInfo,
IAnnotationFinder annotationFinder) |
TestNGMethodFinder(RunInfo runInfo,
IAnnotationFinder annotationFinder,
Comparator<ITestNGMethod> comparator) |
Modifier and Type | Class and Description |
---|---|
class |
JDK15AnnotationFinder
This class implements IAnnotationFinder with JDK5 annotations
Created on Dec 20, 2005
|
Constructor and Description |
---|
JUnitMethodFinder(String testName,
IAnnotationFinder finder) |
Copyright © 2018. All rights reserved.