Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FC696EE0 for ; Fri, 3 Jun 2011 17:30:55 +0000 (UTC) Received: (qmail 11253 invoked by uid 500); 3 Jun 2011 17:30:55 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 11207 invoked by uid 500); 3 Jun 2011 17:30:55 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 11200 invoked by uid 99); 3 Jun 2011 17:30:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 17:30:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 17:30:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 552D62388A2C; Fri, 3 Jun 2011 17:30:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1131117 - /sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverTest.java Date: Fri, 03 Jun 2011 17:30:34 -0000 To: commits@sling.apache.org From: justin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110603173034.552D62388A2C@eris.apache.org> 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);