jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Pombourcq (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-496) TCK: PropertyDefTest and NodeDefTest do not respect the value of the testroot configuration property
Date Tue, 25 Jul 2006 21:18:13 GMT
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


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