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

bad test assumptions in org.apache.jackrabbit.test.api.lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1, 1.2.2, 1.2.3, 1.3, 1.3.1
    • 1.3.3
    • jackrabbit-jcr-tests
    • None

    Description

      These tests make a lot of assumptions that may not be true for a compliant repository, such as:

      • ability to add nodes without specifiying the node type
      • assumption that ordering and same name siblings are supported
      • assumption that addMixin(lockable) is required on newly added nodes

      Furthermore, some repositories may not support shallow locks on leaf nodes. That's not compliant, but failure to do so should not abort a test that tests something else.

      Attachments

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: