directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r312746 - /directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java
Date Mon, 10 Oct 2005 21:08:49 GMT
Author: elecharny
Date: Mon Oct 10 14:08:45 2005
New Revision: 312746

URL: http://svn.apache.org/viewcvs?rev=312746&view=rev
Log:
Fixed the umlauts string (it was only containing a single character isntead of the 7 possible
umlauts)

Modified:
    directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java

Modified: directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java
URL: http://svn.apache.org/viewcvs/directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java?rev=312746&r1=312745&r2=312746&view=diff
==============================================================================
--- directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java
(original)
+++ directory/testsuite/trunk/ldaptests/src/main/java/org/apache/ldap/testsuite/ldaptests/jndi/ops/add/SpecialCharacterAddTests.java
Mon Oct 10 14:08:45 2005
@@ -61,7 +61,7 @@
         String cnValue = new String(new byte[]{'S', 't', 'e', 'f', 'a', 'n', ' ', 'Z', (byte)0xC3,
(byte)0xB6, 'r', 'n', 'e', 'r'}, "UTF-8");
         String snValue = new String(new byte[]{'Z', (byte)0xC3, (byte)0xB6, 'r', 'n', 'e',
'r'}, "UTF-8");
         String rdn = "cn=" + cnValue;
-        String allUmlauts = new String(new byte[]{(byte)0xC3, (byte)0xB6, (byte)0xC3, (byte)0xB6,
(byte)0xC3, (byte)0xB6, (byte)0xC3, (byte)0xB6, (byte)0xC3, (byte)0xB6, (byte)0xC3, (byte)0xB6,
(byte)0xC3, (byte)0xB6,}, "UTF-8");
+        String allUmlauts = new String(new byte[]{(byte)0xC3, (byte)0x84, (byte)0xC3, (byte)0x96,
(byte)0xC3, (byte)0x9C, (byte)0xC3, (byte)0x9F, (byte)0xC3, (byte)0xA4, (byte)0xC3, (byte)0xB6,
(byte)0xC3, (byte)0xBC}, "UTF-8");
         Attributes attributes = AttributesFactory.createPersonAttributes(cnValue, snValue);
         attributes.put("description", allUmlauts);
 



Mime
View raw message