[ http://issues.apache.org/jira/browse/JCR-501?page=all ]
Marcel Reutegger resolved JCR-501.
----------------------------------
Fix Version/s: 1.1
Resolution: Fixed
Fixed as suggested in revision: 427967
Thank you for reporting this issue.
> TCK: SetPropertyValueTest#testCompactValueArrayWithNulls does not respect
> nodename1 and nodetype configuration properties
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: JCR-501
> URL: http://issues.apache.org/jira/browse/JCR-501
> Project: Jackrabbit
> Issue Type: Bug
> Components: test
> Reporter: David Pitfield
> Fix For: 1.1
>
>
> Test doesn't respect value of nodename1 and nodetype configuration properties.
> Proposal: create property under testnode instead of testrootnode.
> --- SetPropertyValueTest.java (revision 422074)
> +++ SetPropertyValueTest.java (working copy)
> @@ -374,11 +374,11 @@
> * the value array by removing all null values
> */
> public void testCompactValueArrayWithNulls() throws Exception {
> - testRootNode.setProperty(propertyName2, vArrayWithNulls);
> + testNode.setProperty(propertyName2, vArrayWithNulls);
> superuser.save();
> assertEquals("Node.setProperty(String, valueArrayWithNulls[]) did
> not compact the value array by removing the null values",
> 2,
> - testRootNode.getProperty(propertyName2).getValues().length);
> + testNode.getProperty(propertyName2).getValues().length);
> }
--
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