commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevencasw...@apache.org
Subject svn commit: r234401 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
Date Mon, 22 Aug 2005 00:50:55 GMT
Author: stevencaswell
Date: Sun Aug 21 17:50:53 2005
New Revision: 234401

URL: http://svn.apache.org/viewcvs?rev=234401&view=rev
Log:
increase CharUtils test coverage as reported by clover

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java?rev=234401&r1=234400&r2=234401&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
Sun Aug 21 17:50:53 2005
@@ -213,6 +213,8 @@
             int val = Integer.parseInt(str.substring(2), 16);
             assertEquals(i, val);
         }
+        assertEquals("\\u0999", CharUtils.unicodeEscaped((char) 0x999));
+        assertEquals("\\u1001", CharUtils.unicodeEscaped((char) 0x1001));
     }
     
     public void testToUnicodeEscaped_Character() {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message