diff --git a/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/BaseTest.java b/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/BaseTest.java deleted file mode 100644 index 3581af3a..00000000 --- a/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/BaseTest.java +++ /dev/null @@ -1,19 +0,0 @@ -package cn.vbill.middleware.manager; - -import cn.vbill.middleware.porter.manager.ManagerBootApplication; -import org.junit.runner.RunWith; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; -import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringRunner; - -/** - * - * @author guohongjian[guo_hj@suixingpay.com] - * - */ -@RunWith(SpringRunner.class) -@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, classes = ManagerBootApplication.class) -@ActiveProfiles("sample")// 开发环境 -public class BaseTest { -} \ No newline at end of file diff --git a/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/test/ManagerTest.java b/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/test/ManagerTest.java deleted file mode 100644 index 772416d0..00000000 --- a/manager/manager-boot/src/test/java/cn/vbill/middleware/manager/test/ManagerTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - */ -package cn.vbill.middleware.manager.test; - -import cn.vbill.middleware.manager.BaseTest; -import cn.vbill.middleware.porter.manager.core.icon.HomeBlockResult; -import cn.vbill.middleware.porter.manager.core.util.ApplicationContextUtil; -import cn.vbill.middleware.porter.manager.service.impl.MonitorScheduledServiceImpl; -import cn.vbill.middleware.porter.manager.service.HomeService; -import cn.vbill.middleware.porter.manager.service.MonitorScheduledService; -import cn.vbill.middleware.porter.manager.service.impl.HomeServiceImpl; -import org.junit.Test; - -/** - * @author guohongjian[guo_hj@suixingpay.com] - */ -public class ManagerTest extends BaseTest { - - @Test - public void test() { - System.out.println(111); - } - - /** - * entryData.getKey():log_date - * entry.getKey():mr_log_monitor - * entry.getValue()mr_log_monitor_20180425 - *
- * entryData.getKey():monitor_date - * entry.getKey():mr_job_tasks_monitor - * entry.getValue()mr_job_tasks_monitor_20180425 - *
- * entryData.getKey():monitor_date - * entry.getKey():mr_nodes_monitor - * entry.getValue()mr_nodes_monitor_20180425 - */ - @Test - public void test1() { - - MonitorScheduledService monitorScheduledService = ApplicationContextUtil.getBean(MonitorScheduledServiceImpl.class); - monitorScheduledService.dropTableTask(); - } - - @Test - public void test2() { - HomeService homeService = ApplicationContextUtil.getBean(HomeServiceImpl.class); - HomeBlockResult homeBlockResult = homeService.bolck(); - - } -} - - - - - - - - - - - - - - - - - - -