| | | 1 | void test10() {↵
|
| | | 2 | expectBuildExceptionContaining("test10", "Attribute has no name",↵
|
| | | 3 | "Attributes must have name and value");↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * Inline manifest - Invalid attribute without value↵
|
| | | 7 | */↵
|
1 | void test11() {↵ | | 8 | public void test11() {↵
|
2 | expectBuildExceptionContaining("test11", "Attribute has no value",↵ | | 9 | expectBuildExceptionContaining("test11", "Attribute has no value",↵
|
3 | "Attributes must have name and value");↵ | | 10 | "Attributes must have name and value");↵
|
4 | }↵ | | 11 | }↵
|
|
5 | /**↵ | | 12 | /**↵
|
6 | * Inline manifest - Invalid attribute without value↵ | | 13 | * Inline manifest - Invalid attribute without value↵
|
7 | */↵ | | 14 | */↵
|
8 | public void test12() {↵ | | 15 | public void test12() {↵
|
9 | expectBuildExceptionContaining("test12", "Section with no name",↵ | | 16 | expectBuildExceptionContaining("test12", "Section with no name",↵
|
10 | "Sections must have a name");↵ | | 17 | "Sections must have a name");↵
|
11 | }↵ | | 18 |
|
|
12 | /**↵ | | | |
13 | * Inline manifest - Duplicate attribute↵ | | | |
14 | */↵ | | | |
15 | public void test13() {↵ | | | |
16 | expectBuildExceptionContaining("test13", "Duplicate Attribute",↵ | | | |
17 | "The attribute \"Test\" may not occur more than once in the same section");↵ | | | |
18 | | | | |