Searched refs:annotationFinder (Results 1 - 12 of 12) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
H A DConfigurationMethod.java48 IAnnotationFinder annotationFinder,
62 super(com.getName(), com, annotationFinder, instance);
89 IAnnotationFinder annotationFinder,
102 this(new ConstructorOrMethod(method), annotationFinder, isBeforeSuite, isAfterSuite, isBeforeTest, isAfterTest,
107 IAnnotationFinder annotationFinder,
119 this(com, annotationFinder, isBeforeSuite, isAfterSuite, isBeforeTest, isAfterTest,
159 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) {
160 return createMethods(methods, annotationFinder,
175 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) {
176 return createMethods(methods, annotationFinder,
47 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) argument
88 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) argument
106 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) argument
158 createSuiteConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
174 createTestConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
190 createClassConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
206 createBeforeConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
229 createAfterConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
252 createTestMethodConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) argument
[all...]
H A DTestNGClassFinder.java46 IAnnotationFinder annotationFinder = configuration.getAnnotationFinder();
70 IAnnotation a = annotationFinder.findAnnotation(m,
117 if(isTestNGClass(cls, annotationFinder)) {
128 xmlTest, annotationFinder, objectFactory);
138 ClassHelper.findDeclaredFactoryMethod(cls, annotationFinder);
144 annotationFinder,
223 public static boolean isTestNGClass(Class<?> c, IAnnotationFinder annotationFinder) { argument
233 IAnnotation ma= annotationFinder.findAnnotation(m, annotation);
240 IAnnotation a= annotationFinder.findAnnotation(cls, annotation);
247 IAnnotation ca= annotationFinder
[all...]
H A DBaseClassFinder.java43 Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder,
48 result = new ClassImpl(context, cls, xmlClass, instance, m_classes, xmlTest, annotationFinder,
42 findOrCreateIClass(ITestContext context, Class cls, XmlClass xmlClass, Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) argument
H A DFactoryMethod.java34 IAnnotationFinder annotationFinder,
37 super(com.getName(), com, annotationFinder, instance);
31 FactoryMethod(ConstructorOrMethod com, Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext) argument
H A DClassImpl.java53 Map<Class, IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder,
60 m_annotationFinder = annotationFinder;
52 ClassImpl(ITestContext context, Class cls, XmlClass xmlClass, Object instance, Map<Class, IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) argument
H A DTestNGMethodFinder.java39 public TestNGMethodFinder(RunInfo runInfo, IAnnotationFinder annotationFinder) argument
42 m_annotationFinder = annotationFinder;
H A DBaseTestMethod.java78 * @param annotationFinder
81 public BaseTestMethod(String methodName, Method method, IAnnotationFinder annotationFinder, Object instance) { argument
82 this(methodName, new ConstructorOrMethod(method), annotationFinder, instance);
85 public BaseTestMethod(String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, argument
90 m_annotationFinder = annotationFinder;
H A DParameters.java408 IAnnotationFinder annotationFinder,
420 testMethod.getConstructorOrMethod(), annotationFinder, methodParams.context);
436 annotationFinder);
452 methodParams, annotationFinder, xmlSuite, ITestAnnotation.class, "@Test");
403 handleParameters(ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance) argument
H A DMethodInvocationHelper.java91 IAnnotationFinder annotationFinder) {
107 boolean isTestInstance = annotationFinder.hasTestInstance(dataProvider, i++);
89 invokeDataProvider(Object instance, Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder) argument
/external/testng/src/main/java/org/testng/internal/annotations/
H A DAnnotationHelper.java196 Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder,
219 boolean hasClassAnnotation = isAnnotationPresent(annotationFinder, cls, annotationClass);
222 boolean hasMethodAnnotation = isAnnotationPresent(annotationFinder, m, annotationClass);
224 isAnnotationPresent(annotationFinder, m, IFactoryAnnotation.class) ||
225 isAnnotationPresent(annotationFinder, m, ITestAnnotation.class) ||
226 isAnnotationPresent(annotationFinder, m, CONFIGURATION_CLASSES);
234 if (isAnnotationPresent(annotationFinder, m, IConfigurationAnnotation.class) &&
235 isAnnotationPresent(annotationFinder, cls, ITestAnnotation.class))
255 annotationFinder, xmlTest, null); /* @@@ */
286 private static boolean isAnnotationPresent(IAnnotationFinder annotationFinder, argument
195 findMethodsWithAnnotation(Class<?> rootClass, Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest) argument
298 isAnnotationPresent(IAnnotationFinder annotationFinder, Method m, Class<? extends IAnnotation> annotationClass) argument
303 isAnnotationPresent(IAnnotationFinder annotationFinder, Class<?> cls, Class<? extends IAnnotation> annotationClass) argument
[all...]
/external/testng/src/main/java/org/testng/
H A DTestClass.java41 IAnnotationFinder annotationFinder,
45 init(cls, testMethodFinder, annotationFinder, runInfo, xmlTest, xmlClass);
72 IAnnotationFinder annotationFinder,
84 m_annotationFinder = annotationFinder;
39 TestClass(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, RunInfo runInfo, XmlTest xmlTest, XmlClass xmlClass) argument
70 init(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, RunInfo runInfo, XmlTest xmlTest, XmlClass xmlClass) argument
H A DTestRunner.java178 IAnnotationFinder annotationFinder,
204 m_annotationFinder= annotationFinder;
174 init(IConfiguration configuration, ISuite suite, XmlTest test, String outputDirectory, IAnnotationFinder annotationFinder, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners) argument

Completed in 190 milliseconds