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

TCK test for shareable node paths assumes work area

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              reschke Julian Reschke
              Reporter:
              rhauch Randall Hauch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified