Searched refs:classObj (Results 1 – 5 of 5) sorted by relevance
348 for (Class<?> classObj : getClasses()) { in countTestCases()349 if (IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()350 || Test.class.isAssignableFrom(classObj)) { in countTestCases()351 TestSuite suite = collectTests(collectClasses(classObj)); in countTestCases()354 && IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()355 && !Test.class.isAssignableFrom(classObj)) { in countTestCases()361 } else if (hasJUnit4Annotation(classObj)) { in countTestCases()362 Request req = Request.aClass(classObj); in countTestCases()558 for (Class<?> classObj : getClasses()) { in runTestClasses()559 if (IRemoteTest.class.isAssignableFrom(classObj)) { in runTestClasses()[all …]
217 public boolean shouldRun(String packageName, Class<?> classObj, Method method) { in shouldRun() argument218 String className = classObj.getName(); in shouldRun()224 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()228 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()235 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()255 Class<?> classObj = null; in shouldRun() local264 classObj = cl.loadClass(desc.getClassName()); in shouldRun()267 String.format("Could not load Test class %s", classObj), e); in shouldRun()271 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()274 String packageName = classObj.getPackage().getName(); in shouldRun()
109 private boolean hasJUnit4Annotation(Class<?> classObj) { in hasJUnit4Annotation() argument110 if (classObj.isAnnotationPresent(SuiteClasses.class)) { in hasJUnit4Annotation()113 for (Method m : classObj.getMethods()) { in hasJUnit4Annotation()
213 public static boolean hasJUnitAnnotation(Class<?> classObj) { in hasJUnitAnnotation() argument214 if (classObj.isAnnotationPresent(org.junit.runner.RunWith.class) in hasJUnitAnnotation()216 classObj.getAnnotation(org.junit.runner.RunWith.class).value())) { in hasJUnitAnnotation()218 } else if (!classObj.isAnnotationPresent(org.junit.runner.RunWith.class)) { in hasJUnitAnnotation()219 if (classObj.isAnnotationPresent(SuiteClasses.class)) { in hasJUnitAnnotation()222 for (Method m : classObj.getMethods()) { in hasJUnitAnnotation()227 if (TestCase.class.isAssignableFrom(classObj)) { in hasJUnitAnnotation()228 return Arrays.asList(classObj.getDeclaredMethods()) in hasJUnitAnnotation()
125 Class<?> classObj = null; in getPackageName() local127 classObj = Class.forName(desc.getClassName()); in getPackageName()130 String.format("Could not load Test class %s", classObj), e); in getPackageName()132 return classObj.getPackage().getName(); in getPackageName()