harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lian...@apache.org
Subject svn commit: r514517 - /harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java
Date Mon, 05 Mar 2007 01:20:05 GMT
Author: liangyx
Date: Sun Mar  4 17:20:04 2007
New Revision: 514517

URL: http://svn.apache.org/viewvc?view=rev&rev=514517
Log:
update testToString002 which depends on default charset

Modified:
    harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java

Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java?view=diff&rev=514517&r1=514516&r2=514517
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/whitebox/TestRdnWhiteBoxDevelopment.java
Sun Mar  4 17:20:04 2007
@@ -344,7 +344,7 @@
     public void testToString002() throws Exception {
         String t = "SN=Lu\\C4\\8Di\\C4\\87";
         Rdn rdn = new Rdn(t);
-        assertEquals(8, rdn.toString().getBytes().length);
+        assertEquals(8, rdn.toString().length());
     }
 
     /**



Mime
View raw message