jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1360650 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java
Date Thu, 12 Jul 2012 12:19:10 GMT
Author: jukka
Date: Thu Jul 12 12:19:09 2012
New Revision: 1360650

URL: http://svn.apache.org/viewvc?rev=1360650&view=rev
Log:
JCR-3384: TCK: BinaryPropertyTest.testGetLengthJcr2() fails with a multi-valued binary property

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java?rev=1360650&r1=1360649&r2=1360650&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/BinaryPropertyTest.java
Thu Jul 12 12:19:09 2012
@@ -395,7 +395,7 @@ public class BinaryPropertyTest extends 
         } finally {
             binary.dispose();
         }
-        long bytes = PropertyUtil.countBytes(prop.getValue());
+        long bytes = PropertyUtil.countBytes(val);
         if (bytes != -1) {
             assertEquals("Binary.getSize() returns wrong number of bytes.",
                     bytes, length);



Mime
View raw message