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

TCK: PropertyDefTest and NodeDefTest do not respect the value of the testroot configuration property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • test
    • None

    Description

      In PropertyDefTest and NodeDefTest, the test setup doesn't respect the value of the testroot configuration property.

      Proposal: use the testroot configuration property.

      Patch for PropertyDefTest:
      — nodetype/PropertyDefTest.java (revision 422074)
      +++ nodetype/PropertyDefTest.java (working copy)
      @@ -94,7 +94,7 @@

      session = helper.getReadOnlySession();
      manager = session.getWorkspace().getNodeTypeManager();

      • rootNode = session.getRootNode();
        + rootNode = testRootNode;
        }

      Patch for NodeDefTest:
      — nodetype/NodeDefTest.java (revision 422074)
      +++ nodetype/NodeDefTest.java (working copy)
      @@ -68,7 +68,7 @@

      session = helper.getReadOnlySession();
      manager = session.getWorkspace().getNodeTypeManager();

      • rootNode = session.getRootNode();
        + rootNode = testRootNode;
        }

      Attachments

        Activity

          People

            Unassigned Unassigned
            npombourcq Nicolas Pombourcq
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: