directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r675998 - /directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java
Date Fri, 11 Jul 2008 15:52:45 GMT
Author: elecharny
Date: Fri Jul 11 08:52:45 2008
New Revision: 675998

URL: http://svn.apache.org/viewvc?rev=675998&view=rev
Log:
Set the class to use the PRISTINE mode

Modified:
    directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java

Modified: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java?rev=675998&r1=675997&r2=675998&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/authz/AdministratorsGroupIT.java
Fri Jul 11 08:52:45 2008
@@ -30,6 +30,7 @@
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.fail;
+
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -47,11 +48,11 @@
  * @version $Rev$
  */
 @RunWith ( CiRunner.class )
+@Mode ( SetupMode.PRISTINE )
 public class AdministratorsGroupIT
 {
     public static DirectoryService service;
-
-
+    
     boolean canReadAdministrators( DirContext ctx ) throws NamingException
     {
         try
@@ -110,7 +111,6 @@
      */
     @Test
     @Factory ( AutzIntegUtils.DefaultServiceFactory.class )
-    @Mode ( SetupMode.PRISTINE )
     public void testDefaultNonAdminReadAccessToGroups() throws Exception
     {
         Name billydDn = createUser( "billyd", "s3kr3t" );
@@ -125,7 +125,5 @@
 
         // billyd should now be able to read the admin group
         assertTrue( canReadAdministrators( ctx ) );
-
-        service.shutdown();
     }
 }



Mime
View raw message