Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3380

TCK tests for shareable nodes assume moving shareable nodes is not supported

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. JCR-3380-fix-shareable-tests-v2.patch
          2 kB
          Randall Hauch
        2. JCR-3380-fix-shareable-tests.patch
          1 kB
          Randall Hauch

        Issue Links

          Activity

            People

              reschke Julian Reschke
              rhauch Randall Hauch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: