Home
last modified time | relevance | path

Searched refs:expectedAnnotationString (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java215 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()
DPackageTest.java58 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument
62 assertIsAnnotationPresent(aPackage, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation()
65 assertGetDeclaredAnnotation(aPackage, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
DFieldTest.java88 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument
92 assertIsAnnotationPresent(field, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation()
95 assertGetDeclaredAnnotation(field, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
DMethodTest.java88 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument
92 assertIsAnnotationPresent(method, annotationType, expectedAnnotationString != null); in checkDeclaredAnnotation()
95 assertGetDeclaredAnnotation(method, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
DConstructorTest.java86 String expectedAnnotationString) throws Exception { in checkDeclaredAnnotation() argument
91 expectedAnnotationString != null); in checkDeclaredAnnotation()
94 assertGetDeclaredAnnotation(constructor, annotationType, expectedAnnotationString); in checkDeclaredAnnotation()
DAnnotatedElementParameterTest.java273 String expectedAnnotationString) throws Exception { in checkParameter0DeclaredAnnotation() argument
277 assertIsAnnotationPresent(parameter, annotationType, expectedAnnotationString != null); in checkParameter0DeclaredAnnotation()
280 assertGetDeclaredAnnotation(parameter, annotationType, expectedAnnotationString); in checkParameter0DeclaredAnnotation()