Uses of Interface
org.testng.internal.annotations.IAnnotationFinder
Packages that use IAnnotationFinder
Package
Description
-
Uses of IAnnotationFinder in org.testng
Fields in org.testng declared as IAnnotationFinderModifier and TypeFieldDescriptionprivate IAnnotationFinder
TestClass.annotationFinder
private IAnnotationFinder
TestRunner.m_annotationFinder
Methods in org.testng that return IAnnotationFinderModifier and TypeMethodDescriptionISuite.getAnnotationFinder()
SuiteRunner.getAnnotationFinder()
Returns the annotation finder for the given annotation type.TestClass.getAnnotationFinder()
Methods in org.testng with parameters of type IAnnotationFinderModifier and TypeMethodDescriptionprivate void
TestClass.init
(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass) private void
TestRunner.init
(IConfiguration configuration, ISuite suite, XmlTest test, String outputDirectory, IAnnotationFinder annotationFinder, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners) Constructors in org.testng with parameters of type IAnnotationFinderModifierConstructorDescriptionprotected
TestClass
(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass, String errorMsgPrefix) protected
TestRunner
(IConfiguration configuration, ISuite suite, XmlTest test, String outputDirectory, IAnnotationFinder finder, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, Comparator<ITestNGMethod> comparator, DataProviderHolder otherHolder) -
Uses of IAnnotationFinder in org.testng.internal
Fields in org.testng.internal declared as IAnnotationFinderModifier and TypeFieldDescriptionprivate final IAnnotationFinder
TestNGClassFinder.annotationFinder
private final IAnnotationFinder
TestNGMethodFinder.annotationFinder
private IAnnotationFinder
AbstractParallelWorker.Arguments.finder
protected final IAnnotationFinder
ExpectedExceptionsHolder.finder
private final IAnnotationFinder
ParameterHandler.finder
private final IAnnotationFinder
RegexpExpectedExceptionsHolder.finder
protected final IAnnotationFinder
BaseTestMethod.m_annotationFinder
private final IAnnotationFinder
ClassImpl.m_annotationFinder
private IAnnotationFinder
Configuration.m_annotationFinder
Methods in org.testng.internal that return IAnnotationFinderModifier and TypeMethodDescriptionprotected IAnnotationFinder
BaseInvoker.annotationFinder()
protected IAnnotationFinder
BaseTestMethod.getAnnotationFinder()
Configuration.getAnnotationFinder()
IConfiguration.getAnnotationFinder()
AbstractParallelWorker.Arguments.getFinder()
Methods in org.testng.internal with parameters of type IAnnotationFinderModifier and TypeMethodDescriptionstatic 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(package private) static void
MethodGroupsHelper.collectMethodsByGroup
(ITestNGMethod[] methods, boolean forTests, List<ITestNGMethod> outIncludedMethods, List<ITestNGMethod> outExcludedMethods, RunInfo runInfo, IAnnotationFinder finder, boolean unique) Collect all the methods that belong to the included groups and exclude all the methods that belong to an excluded group.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
InstanceCreator.createInstance
(Class<?> declaringClass, Map<Class<?>, IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory, boolean create, String errorMsgPrefix) static Object
InstanceCreator.createInstanceUsingObjectFactory
(Class<?> declaringClass, Map<Class<?>, IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, IObjectFactory factory, boolean create, String errorMsgPrefix) 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.private static ITestNGMethod[]
ConfigurationMethod.createMethods
(ITestNGMethod[] methods, IAnnotationFinder finder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, Object instance) private static Object[]
Parameters.createParameters
(ConstructorOrMethod m, Parameters.MethodParameters params, IAnnotationFinder finder, XmlSuite xmlSuite, String atName) 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) private static String[]
Parameters.extractOptionalValues
(IAnnotationFinder finder, ConstructorOrMethod consMethod) TestListenerHelper.findAllListeners
(Class<?> cls, IAnnotationFinder finder) (package private) static Constructor<?>
ClassHelper.findAnnotatedConstructor
(IAnnotationFinder finder, Class<?> declaringClass) Find the best constructor given the parameters found on the annotationprivate static IDataProviderMethod
Parameters.findDataProvider
(Object instance, ITestClass clazz, IAnnotationFinder finder, String name, Class<?> dataProviderClass, ITestContext context) Find a method that has a @DataProvider(name=name)private static IDataProviderMethod
Parameters.findDataProvider
(Object instance, ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder, ITestContext context) private static IDataProvidable
Parameters.findDataProviderInfo
(ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder) Find the data provider info (data provider name and class) on either @Test(dataProvider),@Factory(dataProvider)
on a method or @Factory(dataProvider) on a constructor.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.finder
(IAnnotationFinder finder) private static Class<?>[]
ExpectedExceptionsHolder.findExpectedClasses
(IAnnotationFinder finder, ITestNGMethod method) protected IClass
BaseClassFinder.findOrCreateIClass
(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) private static String[]
FactoryMethod.getAllGroups
(Class<?> declaringClass, XmlTest xmlTest, IAnnotationFinder annotationFinder) MethodInvocationHelper.getParameters
(Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder) static ParameterHolder
Parameters.handleParameters
(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
(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.private void
Configuration.init
(IAnnotationFinder finder) private void
FactoryMethod.init
(Object instance, IAnnotationFinder annotationFinder, ConstructorOrMethod com) private static Object
InstanceCreator.instantiateUsingParameterizedConstructor
(IAnnotationFinder finder, Constructor<?> constructor, XmlTest xmlTest, IObjectFactory objectFactory) 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) private static boolean
TestNGClassFinder.isNotTestNGClass
(Class<?> c, IAnnotationFinder annotationFinder) private static boolean
TestNGClassFinder.isTestNGClass
(Class<?> c, IAnnotationFinder annotationFinder) void
Configuration.setAnnotationFinder
(IAnnotationFinder finder) void
IConfiguration.setAnnotationFinder
(IAnnotationFinder finder) private static boolean
TestNGMethodFinder.shouldCreateBeforeAfterGroup
(String[] groups, IAnnotationFinder finder, Class<?> clazz, boolean isInheritGroups) Constructors in org.testng.internal with parameters of type IAnnotationFinderModifierConstructorDescriptionBaseTestMethod
(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) private
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, boolean initialize, 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) protected
ExpectedExceptionsHolder
(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) (package private)
FactoryMethod
(ConstructorOrMethod com, Object instance, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, DataProviderHolder holder) (package private)
ParameterHandler
(IAnnotationFinder finder, DataProviderHolder holder) RegexpExpectedExceptionsHolder
(IAnnotationFinder finder, ITestNGMethod method) private
TestNGMethod
(Method method, IAnnotationFinder finder, boolean initialize, XmlTest xmlTest, Object instance) TestNGMethod
(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) Constructs aTestNGMethod
TestNGMethodFinder
(RunInfo runInfo, IAnnotationFinder annotationFinder) TestNGMethodFinder
(RunInfo runInfo, IAnnotationFinder annotationFinder, Comparator<ITestNGMethod> comparator) -
Uses of IAnnotationFinder in org.testng.internal.annotations
Classes in org.testng.internal.annotations that implement IAnnotationFinderModifier and TypeClassDescriptionclass
This class implements IAnnotationFinder with JDK5 annotationsMethods in org.testng.internal.annotations with parameters of type IAnnotationFinderModifier and TypeMethodDescriptionstatic IConfigurationAnnotation
AnnotationHelper.findConfiguration
(IAnnotationFinder finder, Method m) static IConfigurationAnnotation
AnnotationHelper.findConfiguration
(IAnnotationFinder finder, ConstructorOrMethod m) static IFactoryAnnotation
AnnotationHelper.findFactory
(IAnnotationFinder finder, Constructor c) static IFactoryAnnotation
AnnotationHelper.findFactory
(IAnnotationFinder finder, Method m) static ITestNGMethod[]
AnnotationHelper.findMethodsWithAnnotation
(Class<?> rootClass, Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest) static ITestAnnotation
AnnotationHelper.findTest
(IAnnotationFinder finder, Class<?> cls) static ITestAnnotation
AnnotationHelper.findTest
(IAnnotationFinder finder, Method m) static ITestAnnotation
AnnotationHelper.findTest
(IAnnotationFinder finder, ITestNGMethod m) private static boolean
AnnotationHelper.isAnnotationPresent
(IAnnotationFinder annotationFinder, Class<?> cls, Class<? extends IAnnotation> annotationClass) private static boolean
AnnotationHelper.isAnnotationPresent
(IAnnotationFinder annotationFinder, Method m) private static boolean
AnnotationHelper.isAnnotationPresent
(IAnnotationFinder annotationFinder, Method m, Class<? extends IAnnotation> annotationClass) -
Uses of IAnnotationFinder in org.testng.internal.objects.pojo
Fields in org.testng.internal.objects.pojo declared as IAnnotationFinderMethods in org.testng.internal.objects.pojo that return IAnnotationFinderMethods in org.testng.internal.objects.pojo with parameters of type IAnnotationFinder -
Uses of IAnnotationFinder in org.testng.junit
Fields in org.testng.junit declared as IAnnotationFinderModifier and TypeFieldDescriptionprivate final IAnnotationFinder
JUnitMethodFinder.m_annotationFinder
Constructors in org.testng.junit with parameters of type IAnnotationFinder