directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r882315 - /directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java
Date Thu, 19 Nov 2009 21:57:56 GMT
Author: seelmann
Date: Thu Nov 19 21:57:56 2009
New Revision: 882315

URL: http://svn.apache.org/viewvc?rev=882315&view=rev
Log:
Use escaped unicode for non-ascii characters

Modified:
    directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java

Modified: directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java?rev=882315&r1=882314&r2=882315&view=diff
==============================================================================
--- directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java
(original)
+++ directory/studio/trunk/ldif-parser/src/test/java/org/apache/directory/studio/ldifparser/model/lines/LdifDnLineTest.java
Thu Nov 19 21:57:56 2009
@@ -82,10 +82,10 @@
      */
     public void testIsValid()
     {
-        LdifDnLine dnLine = LdifDnLine.create( "cn=\\#\\\\\\+\\, \\\"öé\\\",ou=users,ou=system"
);
+        LdifDnLine dnLine = LdifDnLine.create( "cn=\\#\\\\\\+\\, \\\"\u00f6\u00e9\\\",ou=users,ou=system"
);
         assertTrue( dnLine.isValid() );
         assertEquals( "Y249XCNcXFwrXCwgXCLDtsOpXCIsb3U9dXNlcnMsb3U9c3lzdGVt", dnLine.getUnfoldedDn()
);
-        assertEquals( "cn=\\#\\\\\\+\\, \\\"öé\\\",ou=users,ou=system", dnLine.getValueAsString()
);
+        assertEquals( "cn=\\#\\\\\\+\\, \\\"\u00f6\u00e9\\\",ou=users,ou=system", dnLine.getValueAsString()
);
     }
 
 }



Mime
View raw message