1 | void testMapperNoDest() {↵ | | 1 | void testNoEmptySchemaNamespace() throws Exception {↵
|
2 | expectBuildExceptionContaining("testMapperNoDest",↵ | | 2 | expectBuildExceptionContaining("test↵
|
3 | "two mappers",↵ | | |
|
4 | SignJar.ERROR_MAPPER_WITHOUT_DEST);↵ | | |
|
5 | }↵ | | |
|
|
6 | public void testTwoMappers()↵ | | 3 | NoEmptySchemaNamespace",↵
|
| | | 4 | "empty namespace URI",SchemaValidate.SchemaLocation.ERROR_NO_URI);↵
|
| | | 5 | }↵
|
|
7 | {↵ | | 6 | public void testNoEmptySchemaLocation() throws Exception {↵
|
8 | expectBuildExceptionContaining("testTwoMappers",↵ | | 7 | expectBuildExceptionContaining("test↵
|
9 | "two mappers",↵ | | |
|
10 | SignJar.ERROR_TOO_MANY_MAPPERS↵ | | 8 | NoEmptySchemaLocation",↵
|
| | | 9 | "empty schema location",↵
|
11 | );↵ | | 10 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵
|
12 | }↵ | | 11 | }↵
|
|
13 | public void testNoAlias() {↵ | | 12 | public void testNoFile() throws Exception {↵
|
14 | expectBuildExceptionContaining("testNoAlias",↵ | | 13 | expectBuildExceptionContaining("testNoFile",↵
|
15 | "no alias",↵ | | 14 | "no ↵
|
16 | SignJar↵ | | 15 | file at file attribute",↵
|
17 | .ERROR_NO_ALIAS);↵ | | 16 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
18 | | | 17 |
|