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

Test cases should not rely on equality of node types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.6
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      None

      Description

      Currently some TCK tests rely on node type equality. See NodeMixinUtil#getNotAssignedMixinName. This can cause the NodeRemoveMixinTest#testNotAssigned to fail if NodeType implementation do not implement equals the way expected by the test case.

      I suggest to change the test case to not rely on node type equality but rather compare the node type names.

        Attachments

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: