qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject svn commit: r1682402 - /qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java
Date Fri, 29 May 2015 09:15:44 GMT
Author: orudyy
Date: Fri May 29 09:15:43 2015
New Revision: 1682402

URL: http://svn.apache.org/r1682402
Log:
NO-JIRA: Add assertion message into SerialTest#testCorollary1 in order to get agruments values
on unexpected test failure with IBM JDK

Modified:
    qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java

Modified: qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java?rev=1682402&r1=1682401&r2=1682402&view=diff
==============================================================================
--- qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java (original)
+++ qpid/java/trunk/common/src/test/java/org/apache/qpid/util/SerialTest.java Fri May 29 09:15:43
2015
@@ -60,8 +60,8 @@ public class SerialTest extends TestCase
         {
             for (int n = 1; n < 4096; n += 512)
             {
-                assertTrue(Serial.gt(s+n, s));
-                assertTrue(Serial.lt(s, s+n));
+                assertTrue("Serial.gt returned false for: (" + (s + n) + " > " + s + "),
n=" + n, Serial.gt(s + n, s));
+                assertTrue("Serial.lt returned false for: (" + s + " < " + (s + n) + "),
n=" + n, Serial.lt(s, s + n));
             }
 
             s += 1024;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message