equal
deleted
inserted
replaced
175 "\n\n"); |
175 "\n\n"); |
176 } |
176 } |
177 } |
177 } |
178 } |
178 } |
179 |
179 |
180 private static final Pattern annotationRegex = Pattern.compile("@TestObjectMethods\\$AnnotType\\(value=(\\p{Digit})+\\)"); |
180 private static final Pattern annotationRegex = Pattern.compile("@TestObjectMethods\\$AnnotType\\((\\p{Digit})+\\)"); |
181 |
181 |
182 static void testGetAnnotations(Class<?> clazz, boolean annotationsExpectedOnMethods) { |
182 static void testGetAnnotations(Class<?> clazz, boolean annotationsExpectedOnMethods) { |
183 System.err.println("Testing getAnnotations on methods of class " + clazz.getName()); |
183 System.err.println("Testing getAnnotations on methods of class " + clazz.getName()); |
184 Method[] methods = clazz.getDeclaredMethods(); |
184 Method[] methods = clazz.getDeclaredMethods(); |
185 for (Method m : methods) { |
185 for (Method m : methods) { |