jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-496) TCK: PropertyDefTest and NodeDefTest do not respect the value of the testroot configuration property
Date Thu, 27 Jul 2006 08:14:15 GMT
     [ http://issues.apache.org/jira/browse/JCR-496?page=all ]

Marcel Reutegger resolved JCR-496.
----------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Fixed by re-assigning the testRootNode and using that Node for the starting point of the tree
traversal. 

svn revision: 426000

Thank you for reporting this issue.

> TCK: PropertyDefTest and NodeDefTest do not respect the value of the testroot configuration
property
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-496
>                 URL: http://issues.apache.org/jira/browse/JCR-496
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: test
>            Reporter: Nicolas Pombourcq
>             Fix For: 1.1
>
>
> 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;
>      }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message