Searched refs:classObj (Results 1 – 3 of 3) sorted by relevance
388 for (Class<?> classObj : getClasses()) { in countTestCases()389 if (IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()390 || Test.class.isAssignableFrom(classObj)) { in countTestCases()391 TestSuite suite = collectTests(collectClasses(classObj)); in countTestCases()394 && IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()395 && !Test.class.isAssignableFrom(classObj)) { in countTestCases()401 } else if (hasJUnit4Annotation(classObj)) { in countTestCases()402 Request req = Request.aClass(classObj); in countTestCases()604 for (Class<?> classObj : getClasses()) { in runTestClasses()605 if (IRemoteTest.class.isAssignableFrom(classObj)) { in runTestClasses()[all …]
212 public static boolean hasJUnitAnnotation(Class<?> classObj) { in hasJUnitAnnotation() argument213 if (classObj.isAnnotationPresent(org.junit.runner.RunWith.class) in hasJUnitAnnotation()215 classObj.getAnnotation(org.junit.runner.RunWith.class).value())) { in hasJUnitAnnotation()216 for (Method m : classObj.getMethods()) { in hasJUnitAnnotation()221 } else if (!classObj.isAnnotationPresent(org.junit.runner.RunWith.class)) { in hasJUnitAnnotation()222 if (classObj.isAnnotationPresent(SuiteClasses.class)) { in hasJUnitAnnotation()225 for (Method m : classObj.getMethods()) { in hasJUnitAnnotation()230 if (TestCase.class.isAssignableFrom(classObj)) { in hasJUnitAnnotation()231 return Arrays.asList(classObj.getDeclaredMethods()).stream() in hasJUnitAnnotation()
220 public boolean shouldRun(String packageName, Class<?> classObj, Method method) { in shouldRun() argument221 String className = classObj.getName(); in shouldRun()228 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()232 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()239 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()275 Class<?> classObj = null; in shouldRun() local284 classObj = cl.loadClass(desc.getClassName()); in shouldRun()293 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()296 String packageName = classObj.getPackage().getName(); in shouldRun()304 annotations.addAll(Arrays.asList(classObj.getAnnotations())); in shouldRun()