Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F88E95B8 for ; Tue, 3 Jul 2012 13:19:22 +0000 (UTC) Received: (qmail 79841 invoked by uid 500); 3 Jul 2012 13:19:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 79696 invoked by uid 500); 3 Jul 2012 13:19:20 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 79670 invoked by uid 99); 3 Jul 2012 13:19:20 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 13:19:20 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 51193142851 for ; Tue, 3 Jul 2012 13:19:20 +0000 (UTC) Date: Tue, 3 Jul 2012 13:19:20 +0000 (UTC) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1476154795.142.1341321560339.JavaMail.jiratomcat@issues-vm> In-Reply-To: <788562407.611.1341276357724.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (JCR-3370) TCK test for shareable node paths assumes work area MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-3370: -------------------------------- Priority: Major (was: Critical) > TCK test for shareable node paths assumes work area > --------------------------------------------------- > > Key: JCR-3370 > URL: https://issues.apache.org/jira/browse/JCR-3370 > Project: Jackrabbit Content Repository > Issue Type: Task > Components: jackrabbit-jcr-tests, JCR 2.0, test > Affects Versions: 2.5 > Reporter: Randall Hauch > Assignee: Julian Reschke > Fix For: 2.5.1, 2.6 > > Original Estimate: 1h > Remaining Estimate: 1h > > The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines: > // verify paths of nodes b1/b2 in shared set > assertEquals("/testroot/a1/b1", b1.getPath()); > assertEquals("/testroot/a2/b2", b2.getPath()); > should instead be: > // verify paths of nodes b1/b2 in shared set > String testRootNodePath = testRootNode.getPath(); > assertEquals(testRootNodePath + "/a1/b1", b1.getPath()); > assertEquals(testRootNodePath + "/a2/b2", b2.getPath()); > I marked as critical because the TCK test prevents other implementations from correctly proving compatibility. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira