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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.3
    • 2.6
    • jackrabbit-jcr-tests
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: