You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "David Pitfield (JIRA)" <ji...@apache.org> on 2006/08/04 21:36:13 UTC
[jira] Created: (JCR-531) TCK: OrderByMultiTypeTest doesn't respect
nodetype configuration property
TCK: OrderByMultiTypeTest doesn't respect nodetype configuration property
-------------------------------------------------------------------------
Key: JCR-531
URL: http://issues.apache.org/jira/browse/JCR-531
Project: Jackrabbit
Issue Type: Bug
Components: test
Reporter: David Pitfield
OrderByMultiTypeTest creates test data by calling addNode(String). This fails if there is no default primary type.
Proposal: call addNode(String, String)
--- OrderByMultiTypeTest.java (revision 428760)
+++ OrderByMultiTypeTest.java (working copy)
@@ -43,9 +43,9 @@
* Tests order by queries with a String property and a long property.
*/
public void testMultipleOrder() throws Exception {
- Node n1 = testRootNode.addNode(nodeName1);
- Node n2 = testRootNode.addNode(nodeName2);
- Node n3 = testRootNode.addNode(nodeName3);
+ Node n1 = testRootNode.addNode(nodeName1, testNodeType);
+ Node n2 = testRootNode.addNode(nodeName2, testNodeType);
+ Node n3 = testRootNode.addNode(nodeName3, testNodeType);
n1.setProperty(propertyName1, "aaa");
n1.setProperty(propertyName2, 3);
--
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
[jira] Closed: (JCR-531) TCK: OrderByMultiTypeTest doesn't respect
nodetype configuration property
Posted by "David Pitfield (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-531?page=all ]
David Pitfield closed JCR-531.
------------------------------
> TCK: OrderByMultiTypeTest doesn't respect nodetype configuration property
> -------------------------------------------------------------------------
>
> Key: JCR-531
> URL: http://issues.apache.org/jira/browse/JCR-531
> Project: Jackrabbit
> Issue Type: Bug
> Components: test
> Reporter: David Pitfield
> Fix For: 1.1
>
>
> OrderByMultiTypeTest creates test data by calling addNode(String). This fails if there is no default primary type.
> Proposal: call addNode(String, String)
> --- OrderByMultiTypeTest.java (revision 428760)
> +++ OrderByMultiTypeTest.java (working copy)
> @@ -43,9 +43,9 @@
> * Tests order by queries with a String property and a long property.
> */
> public void testMultipleOrder() throws Exception {
> - Node n1 = testRootNode.addNode(nodeName1);
> - Node n2 = testRootNode.addNode(nodeName2);
> - Node n3 = testRootNode.addNode(nodeName3);
> + Node n1 = testRootNode.addNode(nodeName1, testNodeType);
> + Node n2 = testRootNode.addNode(nodeName2, testNodeType);
> + Node n3 = testRootNode.addNode(nodeName3, testNodeType);
>
> n1.setProperty(propertyName1, "aaa");
> n1.setProperty(propertyName2, 3);
--
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
[jira] Resolved: (JCR-531) TCK: OrderByMultiTypeTest doesn't
respect nodetype configuration property
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-531?page=all ]
Marcel Reutegger resolved JCR-531.
----------------------------------
Fix Version/s: 1.1
Resolution: Fixed
Changed test case as proposed.
svn revision: 429267
Thank you for reporting this issue.
> TCK: OrderByMultiTypeTest doesn't respect nodetype configuration property
> -------------------------------------------------------------------------
>
> Key: JCR-531
> URL: http://issues.apache.org/jira/browse/JCR-531
> Project: Jackrabbit
> Issue Type: Bug
> Components: test
> Reporter: David Pitfield
> Fix For: 1.1
>
>
> OrderByMultiTypeTest creates test data by calling addNode(String). This fails if there is no default primary type.
> Proposal: call addNode(String, String)
> --- OrderByMultiTypeTest.java (revision 428760)
> +++ OrderByMultiTypeTest.java (working copy)
> @@ -43,9 +43,9 @@
> * Tests order by queries with a String property and a long property.
> */
> public void testMultipleOrder() throws Exception {
> - Node n1 = testRootNode.addNode(nodeName1);
> - Node n2 = testRootNode.addNode(nodeName2);
> - Node n3 = testRootNode.addNode(nodeName3);
> + Node n1 = testRootNode.addNode(nodeName1, testNodeType);
> + Node n2 = testRootNode.addNode(nodeName2, testNodeType);
> + Node n3 = testRootNode.addNode(nodeName3, testNodeType);
>
> n1.setProperty(propertyName1, "aaa");
> n1.setProperty(propertyName2, 3);
--
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