mirror of https://github.com/apache/activemq.git
Fixed vroke test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7e9206ae5
commit
9e14f67b40
|
@ -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 class CountStatisticTest extends StatisticTestSupport {
|
|||
*/
|
||||
public void testStatistic() throws Exception {
|
||||
CountStatisticImpl stat = new CountStatisticImpl("myCounter", "seconds", "myDescription");
|
||||
stat.setEnabled(true);
|
||||
assertStatistic(stat, "myCounter", "seconds", "myDescription");
|
||||
|
||||
assertEquals(0, stat.getCount());
|
||||
|
|
Loading…
Reference in New Issue