jackrabbit-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/JCR-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julian Reschke updated JCR-3324:
--------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: JCR-3301
    
> 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: Sub-task
>          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:
>     stored.remove();
> 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

        

Mime
View raw message