directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1395542 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java
Date Mon, 08 Oct 2012 13:05:09 GMT
Author: elecharny
Date: Mon Oct  8 13:05:08 2012
New Revision: 1395542

URL: http://svn.apache.org/viewvc?rev=1395542&view=rev
Log:
Minor cleanup

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java?rev=1395542&r1=1395541&r2=1395542&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddPerfIT.java
Mon Oct  8 13:05:08 2012
@@ -103,10 +103,11 @@ public class AddPerfIT extends AbstractL
 
             String name = "test" + i;
             dn = new Dn( "cn=" + name + ",ou=system" );
-            entry = new DefaultEntry( getService().getSchemaManager(), dn );
-            entry.add( "ObjectClass", "top", "person" );
-            entry.add( "sn", name.toUpperCase() );
-            entry.add( "cn", name );
+            entry = new DefaultEntry( getService().getSchemaManager(), dn,
+                "ObjectClass: top", 
+                "ObjectClass: person",
+                "sn", name.toUpperCase(),
+                "cn", name );
 
             long ttt0 = System.nanoTime();
             connection.add( entry );



Mime
View raw message