jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1521845 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java
Date Wed, 11 Sep 2013 13:55:01 GMT
Author: angela
Date: Wed Sep 11 13:55:00 2013
New Revision: 1521845

URL: http://svn.apache.org/r1521845
Log:
OAK-51 : Access Control Management (more tests)

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java?rev=1521845&r1=1521844&r2=1521845&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java
Wed Sep 11 13:55:00 2013
@@ -168,7 +168,19 @@ public class ACLTest extends AbstractAcc
     }
 
     @Test
+    public void testAddAccessControlEntry() throws Exception {
+        assertTrue(acl.addAccessControlEntry(testPrincipal, testPrivileges));
+        assertFalse(acl.isEmpty());
+    }
+
+    @Test
     public void testAddEntry() throws Exception {
+        assertTrue(acl.addEntry(testPrincipal, testPrivileges, true));
+        assertFalse(acl.isEmpty());
+    }
+
+    @Test
+    public void testAddEntry2() throws Exception {
         assertTrue(acl.addEntry(testPrincipal, testPrivileges, true, Collections.<String,
Value>emptyMap()));
         assertFalse(acl.isEmpty());
     }



Mime
View raw message