jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r758639 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java
Date Thu, 26 Mar 2009 13:42:16 GMT
Author: angela
Date: Thu Mar 26 13:42:10 2009
New Revision: 758639

URL: http://svn.apache.org/viewvc?rev=758639&view=rev
Log:
JCR-1588: Access Control

test: check for supported option before general test setup (incl. session creation) is executed

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java?rev=758639&r1=758638&r2=758639&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java
Thu Mar 26 13:42:10 2009
@@ -32,6 +32,8 @@
     protected AccessControlManager acMgr;
 
     protected void setUp() throws Exception {
+        // TODO: uncomment again.
+        // checkSupportedOption(Repository.OPTION_ACCESS_CONTROL_SUPPORTED);
         super.setUp();
         acMgr = getAccessControlManager(superuser);
     }
@@ -41,8 +43,6 @@
         if (!(s instanceof SessionImpl)) {
             throw new NotExecutableException();
         }
-        // TODO: uncomment again.
-        // checkSupportedOption(Repository.OPTION_ACCESS_CONTROL_SUPPORTED);
         try {
             return ((SessionImpl) s).getAccessControlManager();
         } catch (UnsupportedRepositoryOperationException e) {



Mime
View raw message