directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1051518 - /directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java
Date Tue, 21 Dec 2010 15:04:30 GMT
Author: elecharny
Date: Tue Dec 21 15:04:30 2010
New Revision: 1051518

URL: http://svn.apache.org/viewvc?rev=1051518&view=rev
Log:
Some minor reformating

Modified:
    directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java

Modified: directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java?rev=1051518&r1=1051517&r2=1051518&view=diff
==============================================================================
--- directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java
(original)
+++ directory/shared/branches/shared-AP/ldap-schema/src/test/java/org/apache/directory/shared/ldap/aci/ACIItemParserTest.java
Tue Dec 21 15:04:30 2010
@@ -29,10 +29,6 @@ import java.text.ParseException;
 
 import org.apache.directory.junit.tools.Concurrent;
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
-import org.apache.directory.shared.ldap.aci.ACIItem;
-import org.apache.directory.shared.ldap.aci.ACIItemParser;
-import org.apache.directory.shared.ldap.aci.UserFirstACIItem;
-import org.apache.directory.shared.ldap.aci.UserPermission;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
 import org.apache.directory.shared.ldap.schema.loader.ldif.JarLdifSchemaLoader;
 import org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager;
@@ -113,31 +109,35 @@ public class ACIItemParserTest
             "  authenticationLevel simple  , " +
             "  itemOrUserFirst itemFirst  :" +
             "  { " +
-            "    protectedItems  { entry  , attributeType { 2.5.4.3    , ou } , " +
-            "    attributeValue { ou=people  , cn=Ersin  }  , " +
-            "    rangeOfValues (cn=ErsinEr) , " +
-            "    classes and : { item: xyz , or:{item:X,item:Y}   }" +
-            "  }  , " +
-            "  itemPermissions " +
-            "  { " +
+            "    protectedItems  " +
+            "    { " +
+            "      entry  ," +
+            "      attributeType { 2.5.4.3    , ou } , " +
+            "      attributeValue { ou=people  , cn=Ersin  }  , " +
+            "      rangeOfValues (cn=ErsinEr) , " +
+            "      classes and : { item: xyz , or:{item:X,item:Y}   } " +
+            "    }  , " +
+            "    itemPermissions " +
             "    { " +
-            "      userClasses " +
+            "      { " +
+            "        userClasses " +
+            "          {" +
+            "            allUsers  , " +
+            "            userGroup { \"1.2=y,z=t\"  , \"a=b,c=d\" } , " +
+            "            subtree { { base \"ou=people\" } } " +
+            "          }   , " +
+            "        grantsAndDenials  {  denyCompare  , grantModify } " +
+            "      }," +
+            "      { " +
+            "        precedence 10, " +
+            "        userClasses " +
             "        {" +
             "          allUsers  , " +
-            "          userGroup { \"1.2=y,z=t\"  , \"a=b,c=d\" } , " +
+            "          userGroup { \"1.2=y,z=t\"  , \"a=b,c=d\" } ," +
             "          subtree { { base \"ou=people\" } } " +
             "        }   , " +
-            "      grantsAndDenials  {  denyCompare  , grantModify } " +
-            "    }," +
-            "    { " +
-            "      precedence 10, " +
-            "      userClasses " +
-            "      {" +
-            "        allUsers  , " +
-            "        userGroup { \"1.2=y,z=t\"  , \"a=b,c=d\" } ," +
-            "        subtree { { base \"ou=people\" } } " +
-            "      }   , " +
-            "      grantsAndDenials  {  denyCompare  , grantModify } } " +
+            "        grantsAndDenials  {  denyCompare  , grantModify } " +
+            "      } " +
             "    } " +
             "  }" +
             "}";



Mime
View raw message