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();
|