1 | void testWithStyleAttrAndResource() throws Exception {↵ | | 1 | void testStyleIsSet() throws Exception {↵
|
2 | expectSpecificBuildException("testWithStyleAttrAndResource",↵ | | 2 | expectSpecificBuildException("testStyleIsSet",↵
|
3 | "Must throws a BuildException", "specify the " +↵ | | 3 | "no stylesheet specified", "specify the " +↵
|
4 | "stylesheet either as a filename in style " +↵ | | 4 | "stylesheet either as a filename in style " +↵
|
5 | "attribute or as a nested resource but not " +↵ | | 5 | "attribute or as a nested resource↵
|
6 | "as both");↵ | | 6 | ");↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testWithFileResource() throws Exception {↵ | | 8 | public void testTransferParameterSet() throws Exception {↵
|
9 | expectFileContains("testWithFileResource", "out/out.xml",↵ | | 9 | expectFileContains("testTransferParameterSet", // target↵
|
| | | 10 | "out/out.xml", // file↵
|
10 | "set='value'");↵ | | 11 | "set='myvalue'"); // exptected string↵
|
11 | }↵ | | 12 | }↵
|
|
12 | public void testWithUrlResource() throws Exception {↵ | | 13 | public void testTransferParameterEmpty() throws Exception {↵
|
13 | expectFileContains("testWithUrlResource", "out/out.xml", "set='value↵ | | 14 | expectFileContains("testTransferParameterEmpty",↵
|
| | | 15 | "out/out.xml",↵
|
14 | '");↵ | | 16 | "empty=''");↵
|
15 | | | 17 |
|