harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r491814 - /harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
Date Tue, 02 Jan 2007 15:20:36 GMT
Author: tellison
Date: Tue Jan  2 07:20:35 2007
New Revision: 491814

URL: http://svn.apache.org/viewvc?view=rev&rev=491814
Log:
Apply regression test patch for HARMONY-2937 ([classlib][sql] SerialBlob.truncate(long length)
should not change buffer length is the length parameter is invalid)

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java?view=diff&rev=491814&r1=491813&r2=491814
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
Tue Jan  2 07:20:35 2007
@@ -307,6 +307,10 @@
             } catch (SerialException e) {
                 // expected
             }
+            
+            // Non bug difference from RI, Harmony-2937
+            assertEquals(3L, serialBlob.length());
+            
             try {
                 serialBlob.truncate(10);
                 fail("should throw SerialException");



Mime
View raw message