jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r427967 - /jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java
Date Wed, 02 Aug 2006 12:31:50 GMT
Author: mreutegg
Date: Wed Aug  2 05:31:49 2006
New Revision: 427967

URL: http://svn.apache.org/viewvc?rev=427967&view=rev
Log:
JCR-501: TCK: SetPropertyValueTest#testCompactValueArrayWithNulls does not respect nodename1
and nodetype configuration properties

Modified:
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java?rev=427967&r1=427966&r2=427967&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SetPropertyValueTest.java
Wed Aug  2 05:31:49 2006
@@ -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);
     }
 
     /**



Mime
View raw message