Lines Matching refs:klass
224 Class<?> klass = Class.forName(className, in main() local
227 final int modifiers = klass.getModifiers(); in main()
232 final boolean isJunit4Class = isJunit4Class(klass); in main()
233 if (!isJunit4Class && !isJunit3Test(klass)) { in main()
238 klass.getConstructor(new Class<?>[] { String.class } ); in main()
239 addToTests(expectations, architecture, testCases, klass); in main()
249 klass.getConstructor(new Class<?>[0]); in main()
250 addToTests(expectations, architecture, testCases, klass); in main()
465 private static boolean isJunit3Test(Class<?> klass) { in isJunit3Test() argument
466 return TestCase.class.isAssignableFrom(klass); in isJunit3Test()
469 private static boolean isJunit4Class(Class<?> klass) { in isJunit4Class() argument
470 for (Annotation a : klass.getAnnotations()) { in isJunit4Class()
474 System.out.println("Skipping test class " + klass.getName() in isJunit4Class()
480 for (Method m : klass.getMethods()) { in isJunit4Class()