1 | void testTemplate5() throws Exception {↵ | | 1 | void testTemplate2() throws Exception {↵
|
2 | templateSetup(extractor, "$2$POST");↵ | | 2 | templateSetup(extractor, "ABC");↵
|
3 | assertEquals("queryPOST", vars.get("regVal"));↵ | | 3 | assertEquals("ABC", vars.get("regVal"));↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testTemplate6() throws Exception {↵ | | 5 | public void testTemplate3() throws Exception {↵
|
6 | templateSetup(extractor, "$2$$1$");↵ | | 6 | templateSetup(extractor, "$2$");↵
|
7 | assertEquals("queryxmlext", vars.get("regVal"));↵ | | 7 | assertEquals("query", vars.get("regVal"));↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testTemplate7() throws Exception {↵ | | 9 | public void testTemplate4() throws Exception {↵
|
10 | templateSetup(extractor, "$2$MID$1$");↵ | | 10 | templateSetup(extractor, "PRE$2$");↵
|
11 | assertEquals("queryMIDxmlext", vars.get("regVal"));↵ | | 11 | assertEquals("PREquery", vars.get("regVal"));↵
|
12 | | | 12 |
|