You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Randall Hauch (JIRA)" <ji...@apache.org> on 2012/07/09 21:55:34 UTC
[jira] [Updated] (JCR-3380) TCK tests for shareable nodes assume
moving shareable nodes is not supported
[ https://issues.apache.org/jira/browse/JCR-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Hauch updated JCR-3380:
-------------------------------
Attachment: JCR-3380-fix-shareable-tests.patch
Attached a patch that fixes the two move-related test cases.
> TCK tests for shareable nodes assume moving shareable nodes is not supported
> ----------------------------------------------------------------------------
>
> Key: JCR-3380
> URL: https://issues.apache.org/jira/browse/JCR-3380
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr-tests, JCR 2.0, test
> Affects Versions: 2.5
> Reporter: Randall Hauch
> Fix For: 2.5.1, 2.6
>
> Attachments: JCR-3380-fix-shareable-tests.patch
>
>
> There are two tests in ShareableNodeTest that assume that an implementation does not support moving shareable nodes. This is inconsistent with what is required by JSR-283.
> 1) testMoveShareableNode assumes that the implementation does not support moving nodes that are 'mix:shareable' (even when they are not yet shared) using Workspace.move(...).
> 2) testTransientMoveShareableNode makes a similar assumption to #1, except that it uses the Session.move(...) operation.
> Both of these test should be changed to allow an implementation to either not support the operation (e.g., Jackrabbit) or to properly check the results.
--
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