1 | void testMapperNoDest() {↵ | | 1 | void testNoFile() throws Exception {↵
|
2 | expectBuildExceptionContaining("testMapperNoDest",↵ | | 2 | expectBuildExceptionContaining("testNoFile",↵
|
3 | "two mappers",↵ | | 3 | "↵
|
4 | SignJar.ERROR_MAPPER_WITHOUT_DEST);↵ | | |
|
5 | }↵ | | |
|
|
6 | public void testTwoMappers()↵ | | 4 | no file at file attribute",↵
|
| | | 5 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
| | | 6 | }↵
|
|
7 | {↵ | | 7 | public void testNoDoubleSchemaLocation() throws Exception {↵
|
8 | expectBuildExceptionContaining("testTwoMappers",↵ | | 8 | expectBuildExceptionContaining("testNoDoubleSchemaLocation",↵
|
9 | "two mappers",↵ | | 9 | "two locations for schemas",↵
|
10 | SignJar.ERROR_TOO_MANY_MAPPERS);↵ | | 10 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public void testNoAlias() {↵ | | 12 | public void testNoDuplicateSchema() throws Exception {↵
|
13 | expectBuildExceptionContaining("testNoAlias",↵ | | 13 | expectBuildExceptionContaining("testNoDuplicateSchema",↵
|
14 | "no alias",↵ | | 14 | "duplicate schemas with different values",↵
|
15 | SignJar.ERROR_NO_ALIAS);↵ | | 15 | SchemaValidate.ERROR_DUPLICATE_SCHEMA);↵
|
16 | | | 16 |
|