Author: borges
Date: 2011-11-18 05:47:20 -0500 (Fri, 18 Nov 2011)
New Revision: 11710
Modified:
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/client/impl/LargeMessageBufferTest.java
Log:
Silence unittest
Modified:
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/client/impl/LargeMessageBufferTest.java
===================================================================
---
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/client/impl/LargeMessageBufferTest.java 2011-11-18
10:47:05 UTC (rev 11709)
+++
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/client/impl/LargeMessageBufferTest.java 2011-11-18
10:47:20 UTC (rev 11710)
@@ -67,6 +67,7 @@
// Public --------------------------------------------------------
+ @Override
protected void setUp() throws Exception
{
super.setUp();
@@ -77,6 +78,7 @@
tmp.mkdirs();
}
+ @Override
protected void tearDown() throws Exception
{
super.tearDown();
@@ -423,7 +425,7 @@
dataRead = input.read(line);
if (dataRead > 0)
{
- System.out.println("Read one line with " + dataRead +
" bytes");
+ // System.out.println("Read one line with " + dataRead +
" bytes");
totalBytes.addAndGet(dataRead);
if (count.incrementAndGet() == 3)
{
@@ -576,9 +578,9 @@
for (int i = 100; i < byteArray.length; i += 10)
{
byte readBytes[] = new byte[10];
-
+
int size = is.read(readBytes);
-
+
for (int j = 0; j < size; j++)
{
assertEquals(getSamplebyte(i + j), readBytes[j]);