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