diff --git a/org.springframework.core/src/test/java/org/springframework/core/convert/TypeDescriptorTests.java b/org.springframework.core/src/test/java/org/springframework/core/convert/TypeDescriptorTests.java index 97e5262d479..08155227c15 100644 --- a/org.springframework.core/src/test/java/org/springframework/core/convert/TypeDescriptorTests.java +++ b/org.springframework.core/src/test/java/org/springframework/core/convert/TypeDescriptorTests.java @@ -39,7 +39,7 @@ public class TypeDescriptorTests { assertEquals(List.class,typeDescriptor.getType()); assertEquals(String.class,typeDescriptor.getElementType()); // TODO caught shorten these names but it is OK that they are fully qualified for now - assertEquals("java.util.List",typeDescriptor.asString()); + assertEquals("[TypeDescriptor java.util.List]",typeDescriptor.asString()); } @Test @@ -47,7 +47,7 @@ public class TypeDescriptorTests { TypeDescriptor typeDescriptor = new TypeDescriptor(TypeDescriptorTests.class.getDeclaredField("intArray")); assertTrue(typeDescriptor.isArray()); assertEquals(Integer.TYPE,typeDescriptor.getElementType()); - assertEquals("int[]",typeDescriptor.asString()); + assertEquals("[TypeDescriptor int[]]",typeDescriptor.asString()); } @Test @@ -63,7 +63,7 @@ public class TypeDescriptorTests { assertTrue(typeDescriptor.isArray()); assertEquals(List.class,typeDescriptor.getElementType()); // TODO asc notice that the type of the list elements is lost: typeDescriptor.getElementType() should return a TypeDescriptor - assertEquals("java.util.List[]",typeDescriptor.asString()); + assertEquals("[TypeDescriptor java.util.List[]]",typeDescriptor.asString()); } }