1 | void testTransferParameterSet() throws Exception {↵ | | |
|
2 | expectFileContains("testTransferParameterSet", // target↵ | | |
|
3 | "out/out.xml", // file↵ | | |
|
4 | "set='myvalue'"); // exptected string↵ | | |
|
5 | }↵ | | |
|
|
6 | public void testTransferParameterEmpty() throws Exception {↵ | | 1 | void testTransferParameterEmpty() throws Exception {↵
|
7 | expectFileContains("testTransferParameterEmpty",↵ | | 2 | expectFileContains("testTransferParameterEmpty",↵
|
8 | "out/out.xml",↵ | | 3 | "out/out.xml",↵
|
9 | "empty=''");↵ | | 4 | "empty=''");↵
|
10 | }↵ | | 5 | }↵
|
|
11 | public void testTransferParameterUnset() throws Exception {↵ | | 6 | public void testTransferParameterUnset() throws Exception {↵
|
12 | expectFileContains("testTransferParameterUnset",↵ | | 7 | expectFileContains("testTransferParameterUnset",↵
|
13 | "out/out.xml",↵ | | 8 | "out/out.xml",↵
|
14 | "undefined='${value}'");↵ | | 9 | "undefined='${value}'");↵
|
15 | }↵ | | 10 | }↵
|
|
16 | public void testTransferParameterUnsetWithIf() throws Exception {↵ | | 11 | public void testTransferParameterUnsetWithIf() throws Exception {↵
|
17 | expectFileContains("testTransferParameterUnsetWithIf",↵ | | 12 | expectFileContains("testTransferParameterUnsetWithIf",↵
|
18 | "out/out.xml",↵ | | 13 | "out/out.xml",↵
|
19 | "undefined='undefined default value'");↵ | | 14 | "undefined='undefined default value'");↵
|
20 | | | 15 | }↵
|
|
| | | 16 | public void testNewerStylesheet() throws Exception {↵
|
| | | 17 | expectFileContains("testNewerStylesheet",↵
|
| | | 18 | "out/out.xml",↵
|
| | | 19 | "new-value");↵
|
| | | 20 |
|