From 74d85222d640b1428df91b26668749cd10470551 Mon Sep 17 00:00:00 2001 From: qggwy Date: Wed, 20 Apr 2022 22:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/LinuxTongWebKingBaseTest.java | 14 +++++++------- .../service/impl/WindowsTomcatMysqlTest.java | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java b/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java index a556798..9671ec2 100644 --- a/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java +++ b/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(); diff --git a/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java b/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java index 5f5c6b3..4e040c0 100644 --- a/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java +++ b/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();