Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3301 Remove incorrect test assumptions
  3. JCR-3321

TCK: Strange XPath query in OrderByMultiTypeTest.testMultipleOrder

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.1
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      None

      Description

      The test org.apache.jackrabbit.test.api.query.OrderByMultiTypeTest.testMultipleOrder currently runs a query of the form:

      //testroot/*[@jcr:primaryType='nt:unstructured']

      I believe there is a typo in the test, and the query should be:

      /jcr:root/testroot/*[@jcr:primaryType='nt:unstructured']

        Attachments

          Activity

            People

            • Assignee:
              thomasm Thomas Mueller
              Reporter:
              thomasm Thomas Mueller
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: