From 09cdc32bf8cd05ed62f39eea5e7e735075023e69 Mon Sep 17 00:00:00 2001 From: "youHong.ai" <774495953@qq.com> Date: Tue, 22 Nov 2022 17:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E9=99=A4=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- src/test/java/baseTest/BaseTest.java | 39 ---------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 src/test/java/baseTest/BaseTest.java diff --git a/.gitignore b/.gitignore index cc07bbd..3fd8530 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,7 @@ log *.ipa *.apk .idea/ -.gitignore +#.gitignore !.gitignore # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` # should NOT be excluded as they contain compiler settings and other important diff --git a/src/test/java/baseTest/BaseTest.java b/src/test/java/baseTest/BaseTest.java deleted file mode 100644 index b6b9a33..0000000 --- a/src/test/java/baseTest/BaseTest.java +++ /dev/null @@ -1,39 +0,0 @@ -package baseTest; - -import cn.hutool.core.lang.Console; -import org.junit.Before; -import org.junit.Test; -import weaver.conn.RecordSet; -import weaver.general.GCONST; - -/** - * @author EBU7-dev1-ayh - * create 2021/12/13 0013 23:08 - */ - - -public class BaseTest { - @Before - public void before() { - GCONST.setServerName("ecology"); - GCONST.setRootPath("F:\\wxr\\e9-project-ebu7-dev1\\src\\main\\resources\\"); - GCONST.setSystemFilePath("F:\\wxr\\e9-project-ebu7-dev1\\src\\main\\resources\\file"); -// GCONST.setLogPath("/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log"); - } - - @Test - public void with() { - String sql = "select COMPANYNAME,LICENSE,EXPIREDATE,CVERSION from license "; - RecordSet rs = new RecordSet(); - rs.executeQuery(sql); - if (rs.next()) { - System.out.println("公司名称:" + rs.getString(1)); - System.out.println("LICENSE:" + rs.getString(2)); - System.out.println("授权到期日期:" + rs.getString(3)); - System.out.println("版本:" + rs.getString(4)); - Console.log(sql); - System.out.println(GCONST.getSysFilePath()); - // 打印文件位置 - } - } -}