From 3601c8cdf15413eba56106891df7716d3662e766 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Wed, 11 Sep 2019 14:26:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/lq/BaseTest.java | 2 +- src/test/java/com/lq/SysPermissionServiceTest.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/lq/BaseTest.java b/src/test/java/com/lq/BaseTest.java index 47dcc8c..b008928 100644 --- a/src/test/java/com/lq/BaseTest.java +++ b/src/test/java/com/lq/BaseTest.java @@ -6,5 +6,5 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(value = {"/spring-mybatis-config.xml","/spring-import.xml"}) -public class BaseTest { +public abstract class BaseTest { } diff --git a/src/test/java/com/lq/SysPermissionServiceTest.java b/src/test/java/com/lq/SysPermissionServiceTest.java index 0de49a1..7b97624 100644 --- a/src/test/java/com/lq/SysPermissionServiceTest.java +++ b/src/test/java/com/lq/SysPermissionServiceTest.java @@ -16,7 +16,6 @@ import java.util.Date; import java.util.List; import java.util.Map; - public class SysPermissionServiceTest extends BaseTest { @Autowired @@ -27,6 +26,10 @@ public class SysPermissionServiceTest extends BaseTest { private SysResourceDao sysResourceDao; @Test + public void test1(){ + + } + public void test(){ //1.查询所有菜单