初始化

This commit is contained in:
2022-06-21 20:47:46 +08:00
parent b666a24a98
commit 59da3376c1
1246 changed files with 129600 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.njcn;
import com.njcn.system.SystemBootMain;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;
/**
* @author hongawen
* @version 1.0.0
* @date 2021年12月10日 15:05
*/
@RunWith(SpringRunner.class)
@WebAppConfiguration
@SpringBootTest(classes = SystemBootMain.class)
public class BaseJunitTest {
}

View File

@@ -0,0 +1,24 @@
package com.njcn;
import com.njcn.system.service.IDictTypeService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @author hongawen
* @version 1.0.0
* @date 2021年12月14日 12:55
*/
public class DictDataTest extends BaseJunitTest{
@Autowired
private IDictTypeService dictTypeService;
@Test
public void test(){
dictTypeService.dictDataCache();
}
}