Author: clebert.suconic(a)jboss.com
Date: 2009-11-25 19:19:24 -0500 (Wed, 25 Nov 2009)
New Revision: 8407
Modified:
branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/paging/impl/PageImplTest.java
Log:
Fixing a few page tests
Modified:
branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/paging/impl/PageImplTest.java
===================================================================
---
branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/paging/impl/PageImplTest.java 2009-11-26
00:13:49 UTC (rev 8406)
+++
branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/paging/impl/PageImplTest.java 2009-11-26
00:19:24 UTC (rev 8407)
@@ -106,8 +106,6 @@
for (int i = 0; i < msgs.size(); i++)
{
- assertEquals(i, (msgs.get(i).getMessage(null)).getMessageID());
-
assertEquals(simpleDestination,
(msgs.get(i).getMessage(null)).getDestination());
assertEqualsByteArrays(buffers.get(i).toByteBuffer().array(),
(msgs.get(i).getMessage(null)).getBodyBuffer().toByteBuffer().array());
@@ -179,8 +177,6 @@
for (int i = 0; i < msgs.size(); i++)
{
- assertEquals(i, (msgs.get(i).getMessage(null)).getMessageID());
-
assertEquals(simpleDestination,
(msgs.get(i).getMessage(null)).getDestination());
assertEqualsByteArrays(buffers.get(i).toByteBuffer().array(),
(msgs.get(i).getMessage(null)).getBodyBuffer().toByteBuffer().array());
Show replies by date