Commit d8ac5a73 by WeiCong

提交测试案例

parent c3dcf39f
...@@ -179,17 +179,13 @@ public class ParseSwiftTest extends TestCase { ...@@ -179,17 +179,13 @@ public class ParseSwiftTest extends TestCase {
assertEquals(swf.getGenericByTag("20"), "STMMDL129058636E"); assertEquals(swf.getGenericByTag("20"), "STMMDL129058636E");
//填充101的循环的Sequence B的21域 //填充101的循环的Sequence B的21域
List<Object> comList = new LinkedList<>(); List<Object> comList = new LinkedList<>();
List<String> one = new LinkedList<>(); comList.add("101651ATT000005W");
one.add("101651ATT000005W"); comList.add("321651ATT000005Z");
comList.add(one);
one = new LinkedList<>();
one.add("321651ATT000005Z");
comList.add(one);
swf.setGenericByTag("21", comList); swf.setGenericByTag("21", comList);
assertEquals(swf.getGenericByTag("21"), comList); assertEquals(swf.getGenericByTag("21"), comList);
//填充101的循环的Sequence B的23E循环域 //填充101的循环的Sequence B的23E循环域
comList = new LinkedList<>(); comList = new LinkedList<>();
one = new LinkedList<>(); List<String> one = new LinkedList<>();
one.add("CHQB/HELLO"); one.add("CHQB/HELLO");
one.add("CHQB/WORLD"); one.add("CHQB/WORLD");
comList.add(one); comList.add(one);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment