directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r955956 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
Date Fri, 18 Jun 2010 11:53:50 GMT
Author: elecharny
Date: Fri Jun 18 11:53:50 2010
New Revision: 955956

URL: http://svn.apache.org/viewvc?rev=955956&view=rev
Log:
o removed one @Ignore for a working test
o minor typos fixes

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java?rev=955956&r1=955955&r2=955956&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
Fri Jun 18 11:53:50 2010
@@ -42,6 +42,7 @@ import javax.naming.directory.SearchCont
 import javax.naming.directory.SearchResult;
 import javax.naming.ldap.LdapContext;
 
+import org.apache.directory.server.core.annotations.CreateDS;
 import org.apache.directory.server.core.integ.AbstractLdapTestUnit;
 import org.apache.directory.server.core.integ.FrameworkRunner;
 import org.apache.directory.shared.ldap.codec.search.controls.subentries.SubentriesControl;
@@ -59,7 +60,7 @@ import org.junit.runner.RunWith;
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 @RunWith ( FrameworkRunner.class )
-@Ignore
+@CreateDS( name="SubentryServiceIT-class" )
 public class SubentryServiceIT extends AbstractLdapTestUnit
 {
 
@@ -107,7 +108,7 @@ public class SubentryServiceIT extends A
     }
 
 
-    public void addAdministrativeRole( String role ) throws Exception
+    private void addAdministrativeRole( String role ) throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );
         Attribute attribute = new BasicAttribute( "administrativeRole" );
@@ -118,7 +119,7 @@ public class SubentryServiceIT extends A
     }
 
 
-    public Map<String, Attributes> getAllEntries() throws Exception
+    private Map<String, Attributes> getAllEntries() throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );
         Map<String, Attributes> resultMap = new HashMap<String, Attributes>();
@@ -531,6 +532,7 @@ public class SubentryServiceIT extends A
 
 
     @Test
+    @Ignore
     public void testSubentryModifyRdn() throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );
@@ -591,7 +593,6 @@ public class SubentryServiceIT extends A
 
 
     @Test
-    @Ignore ( "Ignored until DIRSERVER-1223 is fixed" )
     public void testEntryModifyRdn() throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );
@@ -758,7 +759,7 @@ public class SubentryServiceIT extends A
             .get( SchemaConstants.COLLECTIVE_ATTRIBUTE_SUBENTRIES_AT ) );
 
         // --------------------------------------------------------------------
-        // Now destry one of the marked/unmarked and rename to deleted entry
+        // Now destroy one of the marked/unmarked and rename to deleted entry
         // --------------------------------------------------------------------
 
         sysRoot.destroySubcontext( "cn=unmarked" );
@@ -912,7 +913,6 @@ public class SubentryServiceIT extends A
     
 
     @Test
-    @Ignore ( "Ignored until DIRSERVER-1223 is fixed" )
     public void testBaseScopeSearchSubentryVisibilityWithoutTheControl() throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );



Mime
View raw message