1 | void testHMS() throws Exception {↵ | | 1 | void testUSER1() throws Exception {↵
|
2 | params.add(new CompoundVariable("HMS"));↵ | | 2 | params.add(new CompoundVariable("USER1"));↵
|
3 | variable.setParameters(params);↵ | | 3 | variable.setParameters(params);↵
|
4 | value = variable.execute(result, null);↵ | | 4 | value = variable.execute(result, null);↵
|
5 | assertEquals(6,value.length());↵ | | 5 | assertEquals(0,value.length());↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testYMDHMS() throws Exception {↵ | | 7 | public void testUSER2() throws Exception {↵
|
8 | params.add(new CompoundVariable("YMDHMS"));↵ | | 8 | params.add(new CompoundVariable("USER2"));↵
|
9 | variable.setParameters(params);↵ | | 9 | variable.setParameters(params);↵
|
10 | value = variable.execute(result, null);↵ | | 10 | value = variable.execute(result, null);↵
|
11 | assertEquals(15,value.length());↵ | | 11 | assertEquals(0,value.length());↵
|
12 | } | | 12 | }
|