(TestComplex annotation)
| 65 | } |
| 66 | |
| 67 | private static void testComplexAnnotation(TestComplex annotation) |
| 68 | throws Exception |
| 69 | { |
| 70 | expect(2 == annotation.arrayValue().length); |
| 71 | expect("Hello, world!".equals(annotation.arrayValue()[0].value())); |
| 72 | expect("7/9".equals(annotation.arrayValue()[1].value())); |
| 73 | expect("adjunct element".equals(annotation.stringValue())); |
| 74 | expect('7' == annotation.charValue()); |
| 75 | expect(0.7778 == annotation.doubleValue()); |
| 76 | expect(TestInteger.class == annotation.classValue()); |
| 77 | } |
| 78 | |
| 79 | public static void testComplexAnnotation() throws Exception { |
| 80 | ClassLoader loader = Annotations.class.getClassLoader(); |
no test coverage detected