Browse Source

增加测试方法

master
qggwy 3 years ago
parent
commit
74d85222d6
  1. 14
      src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java
  2. 14
      src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java

14
src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java

@ -16,13 +16,13 @@ import static org.junit.jupiter.api.Assertions.*;
public class LinuxTongWebKingBaseTest {
static {
DbUtil.url = "";
DbUtil.usr = "";
DbUtil.pwd = "";
AppCfg.DB = "";
AppCfg.MW = "";
AppCfg.HZB = "";
AppCfg.BROWSER = "";
DbUtil.url = "jdbc:mysql://127.0.0.1:35017/hy_qggwy";
DbUtil.usr = "root";
DbUtil.pwd = "admin";
AppCfg.DB = "GWY20_Mysql";
AppCfg.MW = "GWY20_Tomcat";
AppCfg.HZB = "D:/hzb2021";
AppCfg.BROWSER = "360se.exe";
}
private LinuxTongWebKingBase linuxTongWebKingBase = new LinuxTongWebKingBase();

14
src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java

@ -13,13 +13,13 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
public class WindowsTomcatMysqlTest {
static {
DbUtil.url = "";
DbUtil.usr = "";
DbUtil.pwd = "";
AppCfg.DB = "";
AppCfg.MW = "";
AppCfg.HZB = "";
AppCfg.BROWSER = "";
DbUtil.url = "jdbc:mysql://127.0.0.1:35017/hy_qggwy";
DbUtil.usr = "root";
DbUtil.pwd = "admin";
AppCfg.DB = "GWY20_Mysql";
AppCfg.MW = "GWY20_Tomcat";
AppCfg.HZB = "D:/hzb2021";
AppCfg.BROWSER = "360se.exe";
}
WindowsTomcatMysql windowsTomcatMysql = new WindowsTomcatMysql();

Loading…
Cancel
Save