测试脚本

This commit is contained in:
waner
2025-05-20 10:30:45 +08:00
parent f8bf4b10fb
commit 4616f1b700
5 changed files with 52 additions and 46 deletions
+14 -14
View File
@@ -27,26 +27,26 @@ public class Test4NongxinCW {
byte[] orgData = new byte[100];
@Before
public void before() {
// 通过设置debug的属性开启debug,如果不设置则默认不打开
api = (SydApi4j) new SydApi4j().connect("172.16.18.6", 8889, null, 1000);
}
// @Before
// public void before() {
// // 通过设置debug的属性开启debug,如果不设置则默认不打开
// api = (SydApi4j) new SydApi4j().connect("172.16.18.6", 8889, null, 1000);
//
// }
@Test
public void connection() {
}
@After
public void after() {
try {
this.api.disconnect();
} catch (Exception e) {
e.printStackTrace();
}
}
// @After
// public void after() {
// try {
// this.api.disconnect();
// } catch (Exception e) {
// e.printStackTrace();
// }
// }
@Test
public void nakeSign(){