Home
last modified time | relevance | path

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

/external/testng/src/main/java/org/testng/internal/
DConfigurationMethod.java48 IAnnotationFinder annotationFinder, in ConfigurationMethod() argument
62 super(com.getName(), com, annotationFinder, instance); in ConfigurationMethod() local
89 IAnnotationFinder annotationFinder, in ConfigurationMethod() argument
102 …this(new ConstructorOrMethod(method), annotationFinder, isBeforeSuite, isAfterSuite, isBeforeTest,… in ConfigurationMethod()
107 IAnnotationFinder annotationFinder, in ConfigurationMethod() argument
119 this(com, annotationFinder, isBeforeSuite, isAfterSuite, isBeforeTest, isAfterTest, in ConfigurationMethod()
159 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { in createSuiteConfigurationMethods() argument
160 return createMethods(methods, annotationFinder, in createSuiteConfigurationMethods()
175 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { in createTestConfigurationMethods() argument
176 return createMethods(methods, annotationFinder, in createTestConfigurationMethods()
[all …]
DTestNGClassFinder.java46 IAnnotationFinder annotationFinder = configuration.getAnnotationFinder(); in TestNGClassFinder() local
70 IAnnotation a = annotationFinder.findAnnotation(m, in TestNGClassFinder()
117 if(isTestNGClass(cls, annotationFinder)) { in TestNGClassFinder()
128 xmlTest, annotationFinder, objectFactory); in TestNGClassFinder()
138 ClassHelper.findDeclaredFactoryMethod(cls, annotationFinder); in TestNGClassFinder()
144 annotationFinder, in TestNGClassFinder()
223 public static boolean isTestNGClass(Class<?> c, IAnnotationFinder annotationFinder) { in isTestNGClass() argument
233 IAnnotation ma= annotationFinder.findAnnotation(m, annotation); in isTestNGClass()
240 IAnnotation a= annotationFinder.findAnnotation(cls, annotation); in isTestNGClass()
247 IAnnotation ca= annotationFinder.findAnnotation(ctor, annotation); in isTestNGClass()
DBaseClassFinder.java43 Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, in findOrCreateIClass() argument
48 result = new ClassImpl(context, cls, xmlClass, instance, m_classes, xmlTest, annotationFinder, in findOrCreateIClass()
DFactoryMethod.java34 IAnnotationFinder annotationFinder, in FactoryMethod() argument
37 super(com.getName(), com, annotationFinder, instance); in FactoryMethod() local
DBaseTestMethod.java81 …public BaseTestMethod(String methodName, Method method, IAnnotationFinder annotationFinder, Object… in BaseTestMethod() argument
82 this(methodName, new ConstructorOrMethod(method), annotationFinder, instance); in BaseTestMethod()
85 …blic BaseTestMethod(String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, in BaseTestMethod() argument
90 m_annotationFinder = annotationFinder; in BaseTestMethod()
DTestNGMethodFinder.java39 public TestNGMethodFinder(RunInfo runInfo, IAnnotationFinder annotationFinder) in TestNGMethodFinder() argument
42 m_annotationFinder = annotationFinder; in TestNGMethodFinder()
DParameters.java408 IAnnotationFinder annotationFinder, in handleParameters() argument
420 testMethod.getConstructorOrMethod(), annotationFinder, methodParams.context); in handleParameters()
436 annotationFinder); in handleParameters()
452 methodParams, annotationFinder, xmlSuite, ITestAnnotation.class, "@Test"); in handleParameters()
DClassImpl.java53 Map<Class, IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder, in ClassImpl() argument
60 m_annotationFinder = annotationFinder; in ClassImpl()
DMethodInvocationHelper.java91 IAnnotationFinder annotationFinder) { in invokeDataProvider() argument
107 boolean isTestInstance = annotationFinder.hasTestInstance(dataProvider, i++); in invokeDataProvider()
/external/testng/src/main/java/org/testng/internal/annotations/
DAnnotationHelper.java196 Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, in findMethodsWithAnnotation() argument
219 boolean hasClassAnnotation = isAnnotationPresent(annotationFinder, cls, annotationClass); in findMethodsWithAnnotation()
222 boolean hasMethodAnnotation = isAnnotationPresent(annotationFinder, m, annotationClass); in findMethodsWithAnnotation()
224 isAnnotationPresent(annotationFinder, m, IFactoryAnnotation.class) || in findMethodsWithAnnotation()
225 isAnnotationPresent(annotationFinder, m, ITestAnnotation.class) || in findMethodsWithAnnotation()
226 isAnnotationPresent(annotationFinder, m, CONFIGURATION_CLASSES); in findMethodsWithAnnotation()
234 if (isAnnotationPresent(annotationFinder, m, IConfigurationAnnotation.class) && in findMethodsWithAnnotation()
235 isAnnotationPresent(annotationFinder, cls, ITestAnnotation.class)) in findMethodsWithAnnotation()
255 annotationFinder, xmlTest, null); /* @@@ */ in findMethodsWithAnnotation()
286 private static boolean isAnnotationPresent(IAnnotationFinder annotationFinder, in isAnnotationPresent() argument
[all …]
/external/testng/src/main/java/org/testng/
DTestClass.java41 IAnnotationFinder annotationFinder, in TestClass() argument
45 init(cls, testMethodFinder, annotationFinder, runInfo, xmlTest, xmlClass); in TestClass()
72 IAnnotationFinder annotationFinder, in init() argument
84 m_annotationFinder = annotationFinder; in init()
DTestRunner.java178 IAnnotationFinder annotationFinder, in init() argument
204 m_annotationFinder= annotationFinder; in init()