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