1 | void test9() {↵ | | |
|
2 | expectBuildExceptionContaining("test9", "Construction is invalid - Name attribute should not be used",↵ | | |
|
3 | "Specify the section name using the \"name\" attribute of the <section> element");↵ | | |
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Inline manifest - Invalid attribute without name↵ | | |
|
7 | */↵ | | |
|
8 | public void test10() {↵ | | 1 | void test10() {↵
|
9 | expectBuildExceptionContaining("test10", "Attribute has no name",↵ | | 2 | expectBuildExceptionContaining("test10", "Attribute has no name",↵
|
10 | "Attributes must have name and value");↵ | | 3 | "Attributes must have name and value");↵
|
11 | }↵ | | 4 | }↵
|
|
12 | /**↵ | | 5 | /**↵
|
13 | * Inline manifest - Invalid attribute without value↵ | | 6 | * Inline manifest - Invalid attribute without value↵
|
14 | */↵ | | 7 | */↵
|
15 | public void test11() {↵ | | 8 | public void test11() {↵
|
16 | expectBuildExceptionContaining("test11", "Attribute has no value",↵ | | 9 | expectBuildExceptionContaining("test11", "Attribute has no value",↵
|
17 | "Attributes must have name and value");↵ | | 10 | "Attributes must have name and value");↵
|
18 | | | 11 | }↵
|
|
| | | 12 | /**↵
|
| | | 13 | * Inline manifest - Invalid attribute without value↵
|
| | | 14 | */↵
|
| | | 15 | public void test12() {↵
|
| | | 16 | expectBuildExceptionContaining("test12", "Section with no name",↵
|
| | | 17 | "Sections must have a name");↵
|
| | | 18 |
|