Author: justin
Date: Fri Jun 3 17:30:33 2011
New Revision: 1131117
URL: http://svn.apache.org/viewvc?rev=1131117&view=rev
Log:
fixing comments
Modified:
sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java
Modified:
sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java?rev=1131117&r1=1131116&r2=1131117&view=diff
==============================================================================
---
sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java
(original)
+++
sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java
Fri Jun 3 17:30:33 2011
@@ -1871,9 +1871,10 @@ public class JcrResourceResolverTest ext
AccessControlUtil.replaceAccessControlEntry(session,
grandchild.getPath(), testUserPrincipal, new String[] { "jcr:all" }, null,
null, "first");
session.save();
- // expect /child/enkel due to alias and the child node not being
+ // expect /child/grandchild due to parent node not being
// visible to the test user and no parent due to mapping
// the rootPath onto root
+ // TODO - get partial aliases to work, i.e. this should be
/child/enkel
String pathEnkel = "/child/grandchild";
String mappedEnkel = testUserResolver.map(grandchild.getPath());
assertEquals(pathEnkel, mappedEnkel);