directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1053782 - /directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java
Date Thu, 30 Dec 2010 01:37:21 GMT
Author: elecharny
Date: Thu Dec 30 01:37:20 2010
New Revision: 1053782

URL: http://svn.apache.org/viewvc?rev=1053782&view=rev
Log:
Added some test descriptions

Modified:
    directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java

Modified: directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java?rev=1053782&r1=1053781&r2=1053782&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java
(original)
+++ directory/apacheds/branches/apacheds-AP/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryLookupOperationIT.java
Thu Dec 30 01:37:20 2010
@@ -21,6 +21,7 @@ package org.apache.directory.server.core
 
 import org.apache.directory.server.core.annotations.CreateDS;
 import org.apache.directory.server.core.integ.FrameworkRunner;
+import org.junit.Test;
 import org.junit.runner.RunWith;
 
 /**
@@ -35,13 +36,108 @@ public class SubentryLookupOperationIT
     // ===================================================================
     // Test the Lookup operation on APs
     // -------------------------------------------------------------------
+    /**
+     * Test the lookup of an AP. All APs are searcheable by default
+     */
+    @Test
+    public void testLookupAP() throws Exception
+    {
+        // TODO
+    }
 
+    
     // ===================================================================
     // Test the Lookup operation on Subentries
     // -------------------------------------------------------------------
+    /**
+     * Test the lookup of a subentry. Subentries can be read directly as it's 
+     * a OBJECT search.
+     */
+    @Test
+    public void testLookupSubentry() throws Exception
+    {
+        // TODO
+    }
 
+
+    /**
+     * Test the lookup of a subentry with the subentries control.
+     */
+    @Test
+    public void testLookupSubentryWithControl() throws Exception
+    {
+        // TODO
+    }
+    
+    
     // ===================================================================
     // Test the Lookup operation on Entries
     // -------------------------------------------------------------------
+    /**
+     * Test the lookup of a entry with no APs. The entry should not have
+     * any SN
+     */
+    @Test
+    public void testLookupEntryNoAp() throws Exception
+    {
+        // TODO
+    }
+
+
+    /**
+     * Test the lookup of a entry added under an AP with no subentry. All
+     * the entry SN must be set to -1, and not have any subentries reference
+     */
+    @Test
+    public void testLookupEntryUnderApNoSubentry() throws Exception
+    {
+        // TODO
+    }
+
+
+    /**
+     * Test the lookup of a entry when an AP with no subentry has been added. All
+     * the entry SN must be set to -1, and not have any subentries reference
+     */
+    @Test
+    public void testLookupEntryAfterApAdditionNoSubentry() throws Exception
+    {
+        // TODO
+    }
+
+
+    /**
+     * Test the lookup of a entry added under an AP with a subentry. 
+     * The entry is part of the subtreeSpecification.
+     * All the entry SN must be set to the AP SN, and have any subentries reference
+     */
+    @Test
+    public void testLookupEntryUnderApWithSubentrySelected() throws Exception
+    {
+        // TODO
+    }
+
+
+    /**
+     * Test the lookup of a entry when an AP with a subentry is added. 
+     * The entry is part of the subtreeSpecification.
+     * All the entry SN must be set to the AP SN, and have any subentries reference
+     */
+    @Test
+    public void testLookupEntryAfterApAdditionWithSubentrySelected() throws Exception
+    {
+        // TODO
+    }
+
 
+    /**
+     * Test the lookup of a entry when the subentry it referes has been 
+     * removed. The entry's reference to the subentry must be removed, the 
+     * SN must be the AP SN
+     */
+    @Test
+    public void testLookupEntryAfterSubentryDeletion() throws Exception
+    {
+        // TODO
+    }
 }



Mime
View raw message