修改baseTest
parent
0fe5bda2e4
commit
6647fccc48
|
@ -24,7 +24,7 @@ log
|
|||
|
||||
/target/
|
||||
/log/
|
||||
/test/
|
||||
#/test/
|
||||
.DS_Store
|
||||
/src/main/resources/WEB-INF/prop/weaver.properties
|
||||
/lib/classbean
|
||||
|
|
|
@ -5,6 +5,7 @@ import aiyh.utils.zwl.common.logging.LoggerFactory;
|
|||
import weaver.conn.ConnStatementDataSource;
|
||||
import weaver.conn.RecordSet;
|
||||
import weaver.general.BaseBean;
|
||||
import weaver.general.GCONST;
|
||||
import weaver.general.TimeUtil;
|
||||
import weaver.general.Util;
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ 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
|
||||
|
@ -14,8 +15,9 @@ import weaver.conn.RecordSet;
|
|||
public class BaseTest {
|
||||
@Before
|
||||
public void before() {
|
||||
weaver.general.GCONST.setServerName("ecology");
|
||||
weaver.general.GCONST.setRootPath("/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/src/main/resources/");
|
||||
GCONST.setServerName("ecology");
|
||||
GCONST.setRootPath("/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/src/main/resources/");
|
||||
GCONST.setSystemFilePath("/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/src/main/resources/file");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -29,6 +31,7 @@ public class BaseTest {
|
|||
System.out.println("授权到期日期:" + rs.getString(3));
|
||||
System.out.println("版本:" + rs.getString(4));
|
||||
Console.log(sql);
|
||||
System.out.println(GCONST.getSysFilePath());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue