directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r675287 - /directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
Date Wed, 09 Jul 2008 18:28:54 GMT
Author: elecharny
Date: Wed Jul  9 11:28:53 2008
New Revision: 675287

URL: http://svn.apache.org/viewvc?rev=675287&view=rev
Log:
Fixed a pb in a test : the second value was never added to the attribute

Modified:
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java?rev=675287&r1=675286&r2=675287&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
Wed Jul  9 11:28:53 2008
@@ -542,8 +542,13 @@
 
         AttributesImpl attrs = new AttributesImpl( "objectClass", "person", true );
         attrs.get( "objectClass" ).add( "uidObject" );
-        attrs.put( "cn", "john doe" );
-        attrs.put( "cn", "jack doe" );
+        
+        AttributeImpl attr = new AttributeImpl( "cn" );
+        
+        attr.add( "john doe" );
+        attr.add( "jack doe" );
+        
+        attrs.put( attr );
         attrs.put( "sn", "doe" );
         attrs.put( "uid", "jdoe" );
 



Mime
View raw message