/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | ClassTest.java | 27 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 157 NoAnnotation.class, repeated, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 168 InheritedNoNewAnnotation.class, repeated, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 184 NoAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 186 SingleAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 197 InheritedNoNewAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 199 InheritedSingleWithNewSingleAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 204 InheritedMultipleWithNewSingleAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 213 NoAnnotation.class, repeated, EXPECT_EMPTY); in testGetAnnotationsByType() 240 NoAnnotation.class, container, EXPECT_EMPTY); in testGetAnnotationsByType() [all …]
|
D | PackageTest.java | 30 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 71 assertGetDeclaredAnnotationsByType(NoAnnotation.class, repeated, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 82 assertGetDeclaredAnnotationsByType(NoAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 83 assertGetDeclaredAnnotationsByType(SingleAnnotation.class, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 102 assertGetAnnotationsByType(NoAnnotation.class, repeated, EXPECT_EMPTY); in testGetAnnotationsByType() 112 assertGetAnnotationsByType(NoAnnotation.class, container, EXPECT_EMPTY); in testGetAnnotationsByType() 113 assertGetAnnotationsByType(SingleAnnotation.class, container, EXPECT_EMPTY); in testGetAnnotationsByType()
|
D | FieldTest.java | 28 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 102 assertGetDeclaredAnnotationsByType(c, repeated, "noAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 112 assertGetDeclaredAnnotationsByType(c, container, "noAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 119 assertGetDeclaredAnnotationsByType(c, container, "singleAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 134 assertGetAnnotationsByType(c, repeated, "noAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType() 144 assertGetAnnotationsByType(c, container, "noAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType() 151 assertGetAnnotationsByType(c, container, "singleAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType()
|
D | MethodTest.java | 28 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 102 assertGetDeclaredAnnotationsByType(c, repeated, "noAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 112 assertGetDeclaredAnnotationsByType(c, container, "noAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 119 assertGetDeclaredAnnotationsByType(c, container, "singleAnnotation", EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 134 assertGetAnnotationsByType(c, repeated, "noAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType() 144 assertGetAnnotationsByType(c, container, "noAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType() 151 assertGetAnnotationsByType(c, container, "singleAnnotation", EXPECT_EMPTY); in testGetAnnotationsByType()
|
D | ConstructorTest.java | 28 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 101 assertGetDeclaredAnnotationsByType(c, 4, repeated, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 109 assertGetDeclaredAnnotationsByType(c, 4, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 115 assertGetDeclaredAnnotationsByType(c, 0, container, EXPECT_EMPTY); in testGetDeclaredAnnotationsByType() 130 assertGetAnnotationsByType(c, 4, repeated, EXPECT_EMPTY); in testGetAnnotationsByType() 137 assertGetAnnotationsByType(c, 4, container, EXPECT_EMPTY); in testGetAnnotationsByType() 141 assertGetAnnotationsByType(c, 0, container, EXPECT_EMPTY); in testGetAnnotationsByType()
|
D | AnnotatedElementParameterTest.java | 33 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 287 repeated, EXPECT_EMPTY); in testMethodGetDeclaredAnnotationsByType_repeated() local 304 container, EXPECT_EMPTY); in testMethodGetDeclaredAnnotationsByType_repeated() local 316 container, EXPECT_EMPTY); in testMethodGetDeclaredAnnotationsByType_repeated() local 323 repeated, EXPECT_EMPTY); in testConstructorGetDeclaredAnnotationsByType_repeated() local 340 container, EXPECT_EMPTY); in testConstructorGetDeclaredAnnotationsByType_repeated() local 352 container, EXPECT_EMPTY); in testConstructorGetDeclaredAnnotationsByType_repeated() local 367 repeated, EXPECT_EMPTY); in testMethodGetAnnotationsByType_repeated() local 384 container, EXPECT_EMPTY); in testMethodGetAnnotationsByType_repeated() local 396 container, EXPECT_EMPTY); in testMethodGetAnnotationsByType_repeated() local [all …]
|
D | ExecutableParameterTest.java | 34 import static libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY; 124 AnnotatedMethodClass.getMethodWithoutAnnotations(), EXPECT_EMPTY); in testMethodGetParameterAnnotations_repeated() local 210 EXPECT_EMPTY); in testConstructorGetParameterAnnotations_repeated() local
|
D | AnnotatedElementTestSupport.java | 85 public static final String[] EXPECT_EMPTY = new String[0]; field in AnnotatedElementTestSupport
|