activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1443267 [4/4] - in /activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq: ./ advisory/ blob/ broker/jmx/ broker/policy/ broker/store/ bugs/amq1095/ config/ console/command/ filter/ jndi/ load/ memory/ network/ network/jms/ ...
Date Wed, 06 Feb 2013 22:56:13 GMT
Modified: activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java?rev=1443267&r1=1443266&r2=1443267&view=diff
==============================================================================
--- activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java
(original)
+++ activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java
Wed Feb  6 22:56:12 2013
@@ -23,13 +23,14 @@ import java.io.DataOutputStream;
 import java.io.IOException;
 
 import junit.framework.TestCase;
+
 import org.apache.activemq.command.ActiveMQTextMessage;
 import org.apache.activemq.command.SessionId;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * 
+ *
  */
 public class NumberRangesWhileMarshallingTest extends TestCase {
 
@@ -87,7 +88,7 @@ public class NumberRangesWhileMarshallin
         // lets try read and we should get an exception
         try {
             byte value = dis.readByte();
-            fail("Should have reached the end of the stream");
+            fail("Should have reached the end of the stream: " + value);
         } catch (IOException e) {
             // worked!
         }
@@ -124,6 +125,7 @@ public class NumberRangesWhileMarshallin
         assertEquals(Long.MAX_VALUE, wf.getMaxFrameSize());
     }
 
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         openWireformat = createOpenWireFormat();



Mime
View raw message