コード例 #1
0
 @Test
 public void testGetQualifiedNameForMultiDimensionalObjectArrayClass() {
   String className = ClassUtils.getQualifiedName(Object[][].class);
   assertEquals("Class name did not match", "java.lang.Object[][]", className);
 }
コード例 #2
0
 @Test
 public void testGetQualifiedNameForMultiDimensionalPrimitiveArrayClass() {
   String className = ClassUtils.getQualifiedName(byte[][].class);
   assertEquals("Class name did not match", "byte[][]", className);
 }
コード例 #3
0
 @Test
 public void testGetQualifiedName() {
   String className = ClassUtils.getQualifiedName(getClass());
   assertEquals("Class name did not match", "org.springframework.util.ClassUtilsTests", className);
 }