Searched refs:expectedAnnotationString (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementTestSupport.java | 215 Class<? extends Annotation> annotationType, String expectedAnnotationString) { in assertGetDeclaredAnnotation() argument 217 assertAnnotationMatches(annotation, expectedAnnotationString); in assertGetDeclaredAnnotation() 245 Annotation annotation, String expectedAnnotationString) { in assertAnnotationMatches() argument 246 if (expectedAnnotationString == null) { in assertAnnotationMatches() 250 assertEquals(expectedAnnotationString, createAnnotationTestString(annotation)); in assertAnnotationMatches()
|
D | PackageTest.java | 58 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument 62 assertIsAnnotationPresent(aPackage, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation() 65 assertGetDeclaredAnnotation(aPackage, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
|
D | FieldTest.java | 88 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument 92 assertIsAnnotationPresent(field, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation() 95 assertGetDeclaredAnnotation(field, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
|
D | MethodTest.java | 88 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument 92 assertIsAnnotationPresent(method, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation() 95 assertGetDeclaredAnnotation(method, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
|
D | ConstructorTest.java | 86 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument 91 expectedAnnotationString != null); in checkDeclaredAnnotation() 94 assertGetDeclaredAnnotation(constructor, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
|
D | AnnotatedElementParameterTest.java | 273 String expectedAnnotationString) throws Exception { in checkParameter0DeclaredAnnotation() argument 277 assertIsAnnotationPresent(parameter, annotationType, expectedAnnotationString != null); in checkParameter0DeclaredAnnotation() 280 assertGetDeclaredAnnotation(parameter, annotationType, expectedAnnotationString); in checkParameter0DeclaredAnnotation()
|