[jboss-cvs] JBoss Messaging SVN: r5481 - trunk/tests/src/org/jboss/messaging/tests/integration/jms/consumer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 8 22:02:02 EST 2008
Author: clebert.suconic at jboss.com
Date: 2008-12-08 22:02:02 -0500 (Mon, 08 Dec 2008)
New Revision: 5481
Modified:
trunk/tests/src/org/jboss/messaging/tests/integration/jms/consumer/ConsumerTest.java
Log:
small tweak: the first parameter on assertEquals is the expected value
Modified: trunk/tests/src/org/jboss/messaging/tests/integration/jms/consumer/ConsumerTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/jms/consumer/ConsumerTest.java 2008-12-08 18:25:58 UTC (rev 5480)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/jms/consumer/ConsumerTest.java 2008-12-09 03:02:02 UTC (rev 5481)
@@ -155,8 +155,8 @@
}
// assert that all the messages are there and none have been acked
SimpleString queueName = new SimpleString(JBossQueue.JMS_QUEUE_ADDRESS_PREFIX + Q_NAME);
- assertEquals(service.getServer().getPostOffice().getBinding(queueName).getQueue().getDeliveringCount(), 0);
- assertEquals(service.getServer().getPostOffice().getBinding(queueName).getQueue().getMessageCount(), 0);
+ assertEquals(0, service.getServer().getPostOffice().getBinding(queueName).getQueue().getDeliveringCount());
+ assertEquals(0, service.getServer().getPostOffice().getBinding(queueName).getQueue().getMessageCount());
session.close();
}
}
More information about the jboss-cvs-commits
mailing list