-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInitCoreData.java
More file actions
43 lines (38 loc) · 945 Bytes
/
InitCoreData.java
File metadata and controls
43 lines (38 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.test;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Rollback;
import org.springframework.test.context.ActiveProfiles;
import com.jeesite.modules.config.Application;
/**
* 初始化核心表数据
* @author ThinkGem
* @version 2017-10-22
*/
@ActiveProfiles("test")
@SpringBootTest(classes=Application.class)
@Rollback(false)
public class InitCoreData extends com.jeesite.modules.sys.db.InitCoreData {
@Test
public void initCoreData() throws Exception{
createTable();
initLog();
initArea();
initConfig();
initModule();
initDict();
initRole();
initMenu();
initUser();
initOffice();
initCompany();
initPost();
initEmpUser();
initMsgPushJob();
initGenTestData();
initGenTreeData();
}
}