Author: fjuma
Date: 2009-05-08 09:23:19 -0400 (Fri, 08 May 2009)
New Revision: 408
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSSecurityTest.java
Log:
Modifying JMSSecurityTest.java so that it doesn't expect fractional digits for metrics
that have no units.
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSSecurityTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSSecurityTest.java 2009-05-08
13:01:14 UTC (rev 407)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSSecurityTest.java 2009-05-08
13:23:19 UTC (rev 408)
@@ -140,7 +140,7 @@
publishMessages(session, topic, 1);
Map<String, String> expectedMetrics = new LinkedHashMap<String,
String>();
- expectedMetrics.put(ALL_MSG_COUNT, "1.0");
+ expectedMetrics.put(ALL_MSG_COUNT, "1");
checkDestinationMetrics(jndiName, expectedMetrics, getTopicSummaryMetrics(),
DestinationType.TOPIC);
@@ -289,7 +289,7 @@
sendMessages(session, queue, 1);
Map<String, String> expectedMetrics = new LinkedHashMap<String,
String>();
- expectedMetrics.put(MSG_COUNT, "1.0");
+ expectedMetrics.put(MSG_COUNT, "1");
checkDestinationMetrics(jndiName, expectedMetrics, getQueueSummaryMetrics(),
DestinationType.QUEUE);