jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r713059 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlPolicyIteratorTest.java
Date Tue, 11 Nov 2008 15:22:48 GMT
Author: angela
Date: Tue Nov 11 07:22:48 2008
New Revision: 713059

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

(RangeIterator.getNumberRemaining was removed again from the API -> remove (commented)
test.)

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

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlPolicyIteratorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlPolicyIteratorTest.java?rev=713059&r1=713058&r2=713059&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlPolicyIteratorTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/jsr283/security/AccessControlPolicyIteratorTest.java
Tue Nov 11 07:22:48 2008
@@ -92,24 +92,4 @@
             throw new NotExecutableException();
         }
     }
-
-    // TODO: uncomment as soon as RangeIterator is adjusted.
-    /*
-    public void testgetNumberRemaining() throws NotExecutableException, RepositoryException
{
-        checkCanReadAc(path);
-        AccessControlPolicyIterator it = acMgr.getApplicablePolicies(path);
-
-        long remaining = it.getNumberRemaining();
-        assertTrue("Number of remaining entries must be >= -1", remaining >= -1);
-
-        while (it.hasNext()) {
-            it.nextAccessControlPolicy();
-            long rem = it.getNumberRemaining();
-            if (remaining != -1) {
-                assertTrue("Number of remaining entries must decrease or be -1", rem == -1
|| rem < remaining);
-            }
-            remaining = rem;
-        }
-    }
-    */
 }
\ No newline at end of file



Mime
View raw message