From 2aaeacd8effb384f969f6a54b2815e740bba8543 Mon Sep 17 00:00:00 2001 From: infin_caishuxiao Date: Sat, 24 Feb 2018 15:30:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=B1=BB=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/XxlJobExecutorExampleBootApplicationTests.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java b/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java index 702fdeda..f8e35772 100644 --- a/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java +++ b/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java @@ -2,23 +2,21 @@ package com.xxl.job.executor.test; import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; -import com.infincash.cron.collection.CronJobHandler; import com.xxl.job.executor.Application; @RunWith(SpringRunner.class) @SpringBootTest(classes = Application.class ,webEnvironment= SpringBootTest.WebEnvironment.RANDOM_PORT) public class XxlJobExecutorExampleBootApplicationTests { - @Autowired - CronJobHandler jobHandler; +// @Autowired +// CronJobHandler jobHandler; @Test public void test() throws Exception { - jobHandler.execute(""); +// jobHandler.execute(""); } } \ No newline at end of file