forked from cym1102/nginxWebUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainTest.java
More file actions
47 lines (37 loc) · 1.08 KB
/
Copy pathMainTest.java
File metadata and controls
47 lines (37 loc) · 1.08 KB
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
44
45
46
47
package com.cym.test;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.jdbc.core.JdbcTemplate;
import com.cym.NginxWebUI;
import com.cym.service.MonitorService;
import com.cym.service.SettingService;
import com.cym.utils.MessageUtils;
import com.cym.utils.SendMailUtils;
import cn.craccd.sqlHelper.utils.SqlHelper;
@SpringBootTest(classes = NginxWebUI.class)
public class MainTest {
Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
SqlHelper sqlHelper;
@Value("${project.version}")
String version;
@Autowired
MonitorService monitorService;
@Autowired
JdbcTemplate jdbcTemplate;
@Autowired
SendMailUtils sendMailUtils;
@Autowired
SettingService settingService;
@Autowired
MessageUtils m;
@Test
public void testStartUp() throws InterruptedException {
}
}