1 | void testTransferParameterEmpty() throws Exception {↵ | | 1 | void test10() {↵
|
2 | expectFileContains("testTransferParameterEmpty",↵ | | 2 | expectBuildExceptionContaining("test↵
|
3 | "out/out.xml",↵ | | 3 | 10", "Attribute has no name",↵
|
| | | 4 | "Attributes must have name and value");↵
|
4 | ↵ | | 5 | }↵
|
|
5 | ↵ | | 6 | /**↵
|
6 | "empty=''");↵ | | 7 | * Inline manifest - Invalid attribute without value↵
|
7 | }↵ | | 8 | ↵
|
| | | 9 | */↵
|
8 | public void testTransferParameterUnset() throws Exception {↵ | | 10 | public void test11() {↵
|
9 | expectFileContains("testTransferParameterUnset",↵ | | 11 | expectBuildExceptionContaining("test11", "Attribute has no value",↵
|
10 | "out/out.xml",↵ | | 12 | ↵
|
11 | ↵ | | 13 | "Attributes must have name and value");↵
|
12 | ↵ | | 14 | }↵
|
|
13 | "undefined='${value}'");↵ | | 15 | /**↵
|
| | | 16 | * Inline manifest - Invalid attribute without value↵
|
14 | }↵ | | 17 | ↵
|
| | | 18 | */↵
|
15 | public void testTransferParameterUnsetWithIf() throws Exception {↵ | | 19 | public void test12() {↵
|
16 | expectFileContains("testTransferParameterUnsetWithIf",↵ | | 20 | expectBuildExceptionContaining("test12", "Section with no name",↵
|
17 | "out/out.xml",↵ | | 21 | ↵
|
18 | ↵ | | 22 | "Sections must have a name");↵
|
19 | ↵ | | 23 | }↵
|
|
20 | "undefined='undefined default value'");↵ | | 24 | /**↵
|
| | | 25 | * Inline manifest - Duplicate attribute↵
|
21 | }↵ | | 26 | ↵
|
| | | 27 | */↵
|
22 | public void testNewerStylesheet() throws Exception {↵ | | 28 | public void test13() {↵
|
23 | expectFileContains("testNewerStylesheet",↵ | | 29 | expectBuildExceptionContaining("test13", "Duplicate Attribute",↵
|
24 | "out/out.xml",↵ | | 30 | ↵
|
25 | "new-value");↵ | | 31 | "The attribute \"Test\" may not occur more than once in the same section");↵
|
26 | | | 32 |
|