jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r753227 - in /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security: AbstractAccessControlTest.java AccessControlListTest.java
Date Fri, 13 Mar 2009 13:04:03 GMT
Author: angela
Date: Fri Mar 13 13:04:03 2009
New Revision: 753227

URL: http://svn.apache.org/viewvc?rev=753227&view=rev
Log:
use checkSupportedOption method from AbstractJcrTest

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AbstractAccessControlTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlListTest.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=753227&r1=753226&r2=753227&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
Fri Mar 13 13:04:03 2009
@@ -50,12 +50,6 @@
         }
     }
 
-    protected static void checkSupportedOption(Session s, String option) throws NotExecutableException
{
-        if (Boolean.FALSE.toString().equals(s.getRepository().getDescriptor(option))) {
-            throw new NotExecutableException();
-        }
-    }
-
     protected Privilege[] privilegesFromName(String privilegeName) throws RepositoryException,
NotExecutableException {
         AccessControlManager acMgr = getAccessControlManager(superuser);
         return new Privilege[] {acMgr.privilegeFromName(privilegeName)};

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlListTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlListTest.java?rev=753227&r1=753226&r2=753227&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlListTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlListTest.java
Fri Mar 13 13:04:03 2009
@@ -52,7 +52,7 @@
         super.setUp();
 
         // TODO: test if options is supported
-        //checkSupportedOption(superuser, Repository.OPTION_ACCESS_CONTROL_SUPPORTED);
+        //checkSupportedOption(Repository.OPTION_ACCESS_CONTROL_SUPPORTED);
 
         // TODO: retrieve targetPath from configuration
         Node n = testRootNode.addNode(nodeName1, testNodeType);



Mime
View raw message