package com.dianping.cat.consumer;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

import com.dianping.cat.consumer.core.FormatTest;
import com.dianping.cat.consumer.core.GsonTest;
import com.dianping.cat.consumer.core.NumberFormatTest;
import com.dianping.cat.consumer.core.aggregation.CompositeFormatTest;
import com.dianping.cat.consumer.core.aggregation.DefaultFormatTest;
import com.dianping.cat.consumer.event.EventAnalyzerTest;
import com.dianping.cat.consumer.heartbeat.HeartbeatAnalyzerTest;
import com.dianping.cat.consumer.problem.ProblemHandlerTest;
import com.dianping.cat.consumer.problem.ProblemReportAggregationTest;
import com.dianping.cat.consumer.transaction.TransactionAnalyzerTest;
import com.dianping.cat.consumer.transaction.TransactionReportFilterTest;
import com.dianping.cat.consumer.transaction.TransactionReportTest;

@RunWith(Suite.class)
@SuiteClasses({

PeriodStrategyTest.class,

ProblemHandlerTest.class,

FormatTest.class,

GsonTest.class,

NumberFormatTest.class,

/* transaction */

TransactionAnalyzerTest.class,

TransactionReportTest.class,

TransactionReportFilterTest.class,

/* event */
EventAnalyzerTest.class,

/* heartbeat */
HeartbeatAnalyzerTest.class,

CompositeFormatTest.class,

DefaultFormatTest.class,

ProblemReportAggregationTest.class

})
public class AllTests {

}

@@ -697,32 +697,152 @@
 gregationTest;%0D%0A
+import com.dianping.cat.consumer.problem.ProblemReportTest;%0D%0Aimport com.dianping.cat.consumer.state.StateAnalyzerTest;%0D%0A
 import com.dianp
@@ -1428,90 +1428,188 @@
 %0D%0A%0D%0A
-CompositeFormatTest.class,%0D%0A%0D%0ADefaultFormatTest.class,%0D%0A%0D%0AProblemReportAggregation
+/* state */%0D%0AStateAnalyzerTest.class,%0D%0A%0D%0A/* top */%0D%0A%0D%0A/* problem */%0D%0AProblemReportAggregationTest.class,%0D%0A%0D%0AProblemHandlerTest.class,%0D%0A%0D%0AProblemReportTest.class,%0D%0A%0D%0ACompositeFormat
 Test
@@ -1614,20 +1614,46 @@
 st.class
+,
 %0D%0A%0D%0A
+DefaultFormatTest.class%0D%0A
 %7D)%0D%0Apubl

add tests into AllTests.java