jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3324) TCK: GetQueryTest.testGetQuery() unnecessarily uses a same name sibling
Date Wed, 30 May 2012 16:00:25 GMT
Thomas Mueller created JCR-3324:

             Summary: TCK: GetQueryTest.testGetQuery() unnecessarily uses a same name sibling
                 Key: JCR-3324
                 URL: https://issues.apache.org/jira/browse/JCR-3324
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr-tests
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller

The test case GetQueryTest.testGetQuery() first creates a node testRoot/node1:

    testRootNode.addNode(nodeName1, testNodeType);

and then creates another node with the same name below:

    Node stored = q.storeAsNode(testRoot + "/" + nodeName1);

This results in a same name sibling, which is later removed:


But the test case isn't about same name siblings, and could store the node under a different
name instead:

    Node stored = q.storeAsNode(testRoot + "/storedQuery");

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message