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 IAnnotationFinderTestClass.annotationFinderprivate IAnnotationFinderTestRunner.m_annotationFinderMethods 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 voidTestClass.init(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass) private voidTestRunner.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 IAnnotationFinderModifierConstructorDescriptionprotectedTestClass(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass, String errorMsgPrefix) protectedTestRunner(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 IAnnotationFinderTestNGClassFinder.annotationFinderprivate final IAnnotationFinderTestNGMethodFinder.annotationFinderprivate IAnnotationFinderAbstractParallelWorker.Arguments.finderprotected final IAnnotationFinderExpectedExceptionsHolder.finderprivate final IAnnotationFinderParameterHandler.finderprivate final IAnnotationFinderRegexpExpectedExceptionsHolder.finderprotected final IAnnotationFinderBaseTestMethod.m_annotationFinderprivate final IAnnotationFinderClassImpl.m_annotationFinderprivate IAnnotationFinderConfiguration.m_annotationFinderMethods in org.testng.internal that return IAnnotationFinderModifier and TypeMethodDescriptionprotected IAnnotationFinderBaseInvoker.annotationFinder()protected IAnnotationFinderBaseTestMethod.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 voidMethodGroupsHelper.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@ConfigurationMethod.static ObjectInstanceCreator.createInstance(Class<?> declaringClass, Map<Class<?>, IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory, boolean create, String errorMsgPrefix) static ObjectInstanceCreator.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 IDataProviderMethodParameters.findDataProvider(Object instance, ITestClass clazz, IAnnotationFinder finder, String name, Class<?> dataProviderClass, ITestContext context) Find a method that has a @DataProvider(name=name)private static IDataProviderMethodParameters.findDataProvider(Object instance, ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder, ITestContext context) private static IDataProvidableParameters.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 IClassBaseClassFinder.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 ParameterHolderParameters.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 ParameterHolderParameters.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 voidConfiguration.init(IAnnotationFinder finder) private voidFactoryMethod.init(Object instance, IAnnotationFinder annotationFinder, ConstructorOrMethod com) private static ObjectInstanceCreator.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 booleanMethodHelper.isEnabled(Class<?> objectClass, IAnnotationFinder finder) protected static booleanMethodHelper.isEnabled(Method m, IAnnotationFinder finder) private static booleanTestNGClassFinder.isNotTestNGClass(Class<?> c, IAnnotationFinder annotationFinder) private static booleanTestNGClassFinder.isTestNGClass(Class<?> c, IAnnotationFinder annotationFinder) voidConfiguration.setAnnotationFinder(IAnnotationFinder finder) voidIConfiguration.setAnnotationFinder(IAnnotationFinder finder) private static booleanTestNGMethodFinder.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) privateConfigurationMethod(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) protectedExpectedExceptionsHolder(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) privateTestNGMethod(Method method, IAnnotationFinder finder, boolean initialize, XmlTest xmlTest, Object instance) TestNGMethod(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) Constructs aTestNGMethodTestNGMethodFinder(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 TypeClassDescriptionclassThis class implements IAnnotationFinder with JDK5 annotationsMethods in org.testng.internal.annotations with parameters of type IAnnotationFinderModifier and TypeMethodDescriptionstatic IConfigurationAnnotationAnnotationHelper.findConfiguration(IAnnotationFinder finder, Method m) static IConfigurationAnnotationAnnotationHelper.findConfiguration(IAnnotationFinder finder, ConstructorOrMethod m) static IFactoryAnnotationAnnotationHelper.findFactory(IAnnotationFinder finder, Constructor c) static IFactoryAnnotationAnnotationHelper.findFactory(IAnnotationFinder finder, Method m) static ITestNGMethod[]AnnotationHelper.findMethodsWithAnnotation(Class<?> rootClass, Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest) static ITestAnnotationAnnotationHelper.findTest(IAnnotationFinder finder, Class<?> cls) static ITestAnnotationAnnotationHelper.findTest(IAnnotationFinder finder, Method m) static ITestAnnotationAnnotationHelper.findTest(IAnnotationFinder finder, ITestNGMethod m) private static booleanAnnotationHelper.isAnnotationPresent(IAnnotationFinder annotationFinder, Class<?> cls, Class<? extends IAnnotation> annotationClass) private static booleanAnnotationHelper.isAnnotationPresent(IAnnotationFinder annotationFinder, Method m) private static booleanAnnotationHelper.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 IAnnotationFinderJUnitMethodFinder.m_annotationFinderConstructors in org.testng.junit with parameters of type IAnnotationFinder