jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1000870 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java
Date Fri, 24 Sep 2010 13:47:26 GMT
Author: jukka
Date: Fri Sep 24 13:47:25 2010
New Revision: 1000870

URL: http://svn.apache.org/viewvc?rev=1000870&view=rev
Log:
JCR-515: Enhance test data

Make sure that the tested ACL already contains something when trying to re-add the first entry

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java?rev=1000870&r1=1000869&r2=1000870&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/security/AccessControlListTest.java
Fri Sep 24 13:47:25 2010
@@ -485,6 +485,7 @@ public class AccessControlListTest exten
         checkCanModifyAc(path);
 
         AccessControlList list = getList(acMgr, path);
+        list.addAccessControlEntry(testPrincipal, privs);
         AccessControlEntry[] entries = list.getAccessControlEntries();
         if (entries.length > 0) {
             assertFalse("Adding an existing entry again must not modify the AC-List",



Mime
View raw message