directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r675296 - /directory/shared/branches/bigbang/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
Date Wed, 09 Jul 2008 18:40:30 GMT
Author: elecharny
Date: Wed Jul  9 11:40:30 2008
New Revision: 675296

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

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

Modified: directory/shared/branches/bigbang/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java?rev=675296&r1=675295&r2=675296&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
(original)
+++ directory/shared/branches/bigbang/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
Wed Jul  9 11:40:30 2008
@@ -542,8 +542,14 @@
 
         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