package com.ctrip.xpipe.redis.console;


import com.ctrip.xpipe.redis.console.cluster.ConsoleCrossDcServerTest;
import com.ctrip.xpipe.redis.console.config.impl.DefaultConsoleConfigTest;
import com.ctrip.xpipe.redis.console.config.impl.DefaultConsoleDbConfigTest;
import com.ctrip.xpipe.redis.console.controller.api.data.meta.CheckPrepareRequestTest;
import com.ctrip.xpipe.redis.console.controller.api.data.meta.ClusterCreateInfoTest;
import com.ctrip.xpipe.redis.console.dal.ConcurrentDalTransactionTest;
import com.ctrip.xpipe.redis.console.dal.DalTransactionManagerTest;
import com.ctrip.xpipe.redis.console.dao.ConfigDaoTest;
import com.ctrip.xpipe.redis.console.dao.MigrationClusterDaoTest;
import com.ctrip.xpipe.redis.console.dao.MigrationEventDaoTest;
import com.ctrip.xpipe.redis.console.dao.RedisDaoTest;
import com.ctrip.xpipe.redis.console.health.action.HealthStatusTest;
import com.ctrip.xpipe.redis.console.health.clientconfig.CheckClusterTest;
import com.ctrip.xpipe.redis.console.health.sentinel.DefaultSentinelCollectorTest;
import com.ctrip.xpipe.redis.console.health.sentinel.SentinelHelloTest;
import com.ctrip.xpipe.redis.console.migration.MultiShardMigrationTest;
import com.ctrip.xpipe.redis.console.migration.SingleShardMigrationTest;
import com.ctrip.xpipe.redis.console.migration.model.DefaultMigrationClusterTest;
import com.ctrip.xpipe.redis.console.migration.model.DefaultMigrationShardTest;
import com.ctrip.xpipe.redis.console.migration.model.impl.DefaultShardMigrationResultTest;
import com.ctrip.xpipe.redis.console.migration.status.MigrationStatTest;
import com.ctrip.xpipe.redis.console.migration.status.MigrationStatusTest;
import com.ctrip.xpipe.redis.console.migration.status.migration.MigrationCheckingStateTest;
import com.ctrip.xpipe.redis.console.migration.status.migration.MigrationInitiatedStateTest;
import com.ctrip.xpipe.redis.console.migration.status.migration.MigrationPartialSuccessStateTest;
import com.ctrip.xpipe.redis.console.migration.status.migration.MigrationPublishStatTest;
import com.ctrip.xpipe.redis.console.migration.status.migration.statemachine.StateMachineTest;
import com.ctrip.xpipe.redis.console.notifier.ClusterMetaModifiedNotifierTest;
import com.ctrip.xpipe.redis.console.notifier.MetaNotifyTaskTest;
import com.ctrip.xpipe.redis.console.service.MetaServiceTest;
import com.ctrip.xpipe.redis.console.service.impl.*;
import com.ctrip.xpipe.redis.console.service.meta.impl.ClusterMetaServiceImplTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

/**
 * @author wenchao.meng
 *         <p>
 *         Jun 23, 2016
 */
@RunWith(Suite.class)
@SuiteClasses({
        SentinelHelloTest.class,
        DefaultSentinelCollectorTest.class,
        ConsoleCrossDcServerTest.class,
        HealthStatusTest.class,

        ClusterServiceImplTest.class,
        RedisServiceImplTest.class,
        KeepercontainerServiceImplTest.class,
        ShardServiceImplTest.class,
        SentinelServiceImplTest.class,
        ClusterMetaServiceImplTest.class,

        StateMachineTest.class,
        MigrationStatusTest.class,
        ConcurrentDalTransactionTest.class,
        DalTransactionManagerTest.class,
        ClusterMetaModifiedNotifierTest.class,
        MetaServiceTest.class,
        ClusterMetaModifiedNotifierTest.class,
        MetaNotifyTaskTest.class,
        MigrationCheckingStateTest.class,
        MigrationPartialSuccessStateTest.class,
        DefaultMigrationClusterTest.class,
        DefaultMigrationShardTest.class,
        MigrationStatTest.class,
        MigrationInitiatedStateTest.class,
        MigrationPublishStatTest.class,
        SingleShardMigrationTest.class,
        MultiShardMigrationTest.class,
        DefaultShardMigrationResultTest.class,
        ClusterCreateInfoTest.class,

        CheckPrepareRequestTest.class,
        ConfigDaoTest.class,
        MigrationClusterDaoTest.class,
        MigrationEventDaoTest.class,
        DefaultConsoleDbConfigTest.class,
        DefaultConsoleConfigTest.class,
        RedisDaoTest.class,
        CheckClusterTest.class
})
public class AllTests {

}

@@ -249,32 +249,338 @@
 leDbConfigTest;%0A
+import com.ctrip.xpipe.redis.console.controller.api.data.KeeperUpdateControllerTest;%0Aimport com.ctrip.xpipe.redis.console.controller.api.data.MetaUpdateTest;%0Aimport com.ctrip.xpipe.redis.console.controller.api.data.MetaUpdateTest2;%0Aimport com.ctrip.xpipe.redis.console.controller.api.data.MetaUpdateTest3;%0A
 import com.ctrip
@@ -4428,16 +4428,151 @@
 st.class
+,%0A%0A        KeeperUpdateControllerTest.class,%0A        MetaUpdateTest.class,%0A        MetaUpdateTest2.class,%0A        MetaUpdateTest3.class
 %0A%7D)%0Apubl

add api test to all tests