activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r510991 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java
Date Fri, 23 Feb 2007 15:51:24 GMT
Author: rajdavies
Date: Fri Feb 23 07:51:23 2007
New Revision: 510991

URL: http://svn.apache.org/viewvc?view=rev&rev=510991
Log:
Fixed vroke test case

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java?view=diff&rev=510991&r1=510990&r2=510991
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/management/CountStatisticTest.java
Fri Feb 23 07:51:23 2007
@@ -17,7 +17,6 @@
  */
 package org.apache.activemq.management;
 
-import org.apache.activemq.management.CountStatisticImpl;
 
 public class CountStatisticTest extends StatisticTestSupport {
     
@@ -30,6 +29,7 @@
      */
     public void testStatistic() throws Exception {
         CountStatisticImpl stat = new CountStatisticImpl("myCounter", "seconds", "myDescription");
+        stat.setEnabled(true);
         assertStatistic(stat, "myCounter", "seconds", "myDescription");
 
         assertEquals(0, stat.getCount());



Mime
View raw message