1 | void test9() {↵ | | 1 | void testTransferParameterEmpty() throws Exception {↵
|
2 | expectBuildExceptionContaining("test9", "Construction is invalid - Name attribute should not be used",↵ | | 2 | expectFileContains("test↵
|
| | | 3 | TransferParameterEmpty",↵
|
3 | "Specify the section name using the \"name\" attribute of the <section> element");↵ | | 4 | ↵
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Inline manifest - Invalid attribute without name↵ | | |
|
7 | */↵ | | |
|
8 | public void test10()↵ | | 5 | "out/out.xml",↵
|
| | | 6 | "empty=''");↵
|
| | | 7 | }↵
|
|
9 | {↵ | | 8 | public void testTransferParameterUnset() throws Exception {↵
|
10 | expectBuildExceptionContaining("test10", "Attribute has no name",↵ | | 9 | expectFileContains("testTransferParameterUnset",↵
|
11 | "Attributes must have name and value");↵ | | 10 | ↵
|
| | | 11 | "out/out.xml",↵
|
12 | }↵ | | 12 | ↵
|
|
13 | /**↵ | | 13 | ↵
|
14 | * Inline manifest - Invalid attribute without value↵ | | 14 | "undefined='${value}'");↵
|
15 | */↵ | | 15 | }↵
|
|
16 | public void test11() {↵ | | 16 | public void testTransferParameterUnsetWithIf() throws Exception {↵
|
17 | expectBuildExceptionContaining("test11", "Attribute has no value",↵ | | 17 | expectFileContains("test↵
|
18 | "Attributes must have name and↵ | | 18 | TransferParameterUnsetWithIf",↵
|
| | | 19 | "out/out.xml",↵
|
19 | value");↵ | | 20 | "undefined='undefined default value'");↵
|
20 | | | 21 |
|