File tree Expand file tree Collapse file tree
microsphere-java-core/src/test/java/io/microsphere/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,22 +305,22 @@ public void testGetAllDeclaredAnnotationsNoNull() {
305305
306306 @ Test
307307 public void testGetDeclaredAnnotations () {
308- List <Annotation > annotations = getAllDeclaredAnnotations (A .class );
308+ List <Annotation > annotations = getDeclaredAnnotations (A .class );
309309 assertEquals (1 , annotations .size ());
310310 assertEquals (DataAccess .class , annotations .get (0 ).annotationType ());
311311 }
312312
313313 @ Test
314314 public void testGetDeclaredAnnotationsOnInheritedClass () {
315- List <Annotation > annotations = findDeclaredAnnotations (B .class );
315+ List <Annotation > annotations = getDeclaredAnnotations (B .class );
316316 assertEquals (2 , annotations .size ());
317317 assertEquals (DataAccess .class , annotations .get (0 ).annotationType ());
318318 assertEquals (Since .class , annotations .get (1 ).annotationType ());
319319 }
320320
321321 @ Test
322322 public void testGetDeclaredAnnotationsOnAnnotation () {
323- List <Annotation > annotations = getAllDeclaredAnnotations (DataAccess .class );
323+ List <Annotation > annotations = getDeclaredAnnotations (DataAccess .class );
324324 assertEquals (4 , annotations .size ());
325325 assertEquals (Inherited .class , annotations .get (0 ).annotationType ());
326326 assertEquals (Target .class , annotations .get (1 ).annotationType ());
You can’t perform that action at this time.
0 commit comments