directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r697690 - /directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java
Date Mon, 22 Sep 2008 07:50:34 GMT
Author: elecharny
Date: Mon Sep 22 00:50:34 2008
New Revision: 697690

URL: http://svn.apache.org/viewvc?rev=697690&view=rev
Log:
Forgot to commit this test, where the recursiveAddPartiton has been changed to recusriveAddElement

Modified:
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java

Modified: directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java?rev=697690&r1=697689&r2=697690&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java
(original)
+++ directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/partition/tree/PartitionTreeTest.java
Mon Sep 22 00:50:34 2008
@@ -56,7 +56,7 @@
         Partition partition = new JdbmPartition();
         partition.setSuffix( suffix.getUpName() );
         
-        Node<Partition> node = partitionLookupTree.recursivelyAddPartition( partitionLookupTree,
suffix, 0, partition );
+        Node<Partition> node = partitionLookupTree.recursivelyAddElement( partitionLookupTree,
suffix, 0, partition );
         
         assertNotNull( node );
         assertTrue( node instanceof BranchNode );
@@ -83,13 +83,13 @@
         Partition partition1 = new JdbmPartition();
         partition1.setSuffix( suffix1.getUpName() );
         
-        Node<Partition> node = partitionLookupTree.recursivelyAddPartition( partitionLookupTree,
suffix1, 0, partition1 );
+        Node<Partition> node = partitionLookupTree.recursivelyAddElement( partitionLookupTree,
suffix1, 0, partition1 );
         
         LdapDN suffix2 = new LdapDN( "ou=system" );
         Partition partition2 = new JdbmPartition();
         partition2.setSuffix( suffix2.getUpName() );
         
-        node = partitionLookupTree.recursivelyAddPartition( partitionLookupTree, suffix2,
0, partition2 );
+        node = partitionLookupTree.recursivelyAddElement( partitionLookupTree, suffix2, 0,
partition2 );
 
         assertNotNull( node );
         assertTrue( node instanceof BranchNode );
@@ -122,7 +122,7 @@
         Partition partition1 = new JdbmPartition();
         partition1.setSuffix( suffix1.getUpName() );
         
-        partitionLookupTree.recursivelyAddPartition( partitionLookupTree, suffix1, 0, partition1
);
+        partitionLookupTree.recursivelyAddElement( partitionLookupTree, suffix1, 0, partition1
);
         
         LdapDN suffix2 = new LdapDN( "dc=example, dc=com" );
         Partition partition2 = new JdbmPartition();
@@ -130,7 +130,7 @@
         
         try
         {
-            partitionLookupTree.recursivelyAddPartition( partitionLookupTree, suffix2, 0,
partition2 );
+            partitionLookupTree.recursivelyAddElement( partitionLookupTree, suffix2, 0, partition2
);
             fail();
         }
         catch ( NamingException ne )
@@ -152,13 +152,13 @@
         Partition partition1 = new JdbmPartition();
         partition1.setSuffix( suffix1.getUpName() );
         
-        partitionLookupTree.recursivelyAddPartition( partitionLookupTree, suffix1, 0, partition1
);
+        partitionLookupTree.recursivelyAddElement( partitionLookupTree, suffix1, 0, partition1
);
         
         LdapDN suffix2 = new LdapDN( "dc=example2, dc=com" );
         Partition partition2 = new JdbmPartition();
         partition2.setSuffix( suffix2.getUpName() );
         
-        Node<Partition> node = partitionLookupTree.recursivelyAddPartition( partitionLookupTree,
suffix2, 0, partition2 );
+        Node<Partition> node = partitionLookupTree.recursivelyAddElement( partitionLookupTree,
suffix2, 0, partition2 );
 
         assertNotNull( node );
         



Mime
View raw message