1 | void testNoEmptySchemaLocation() throws Exception {↵ | | 1 | void testTwoMappers() {↵
|
2 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵ | | 2 | expectBuildExceptionContaining("test↵
|
3 | "empty schema location",↵ | | |
|
4 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION↵ | | 3 | TwoMappers",↵
|
| | | 4 | "two mappers",↵
|
5 | );↵ | | 5 | SignJar.ERROR_TOO_MANY_MAPPERS);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNoFile() throws Exception {↵ | | 7 | public void testNoAlias() {↵
|
8 | expectBuildExceptionContaining("testNoFile",↵ | | 8 | expectBuildExceptionContaining("testNoAlias",↵
|
9 | "no file at file attribute",↵ | | 9 | "no ↵
|
10 | SchemaValidate.SchemaLocation↵ | | 10 | alias",↵
|
11 | .ERROR_NO_FILE);↵ | | 11 | SignJar.ERROR_NO_ALIAS);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public void testNoDoubleSchemaLocation() throws Exception {↵ | | 13 | public void testNoFiles() {↵
|
14 | expectBuildExceptionContaining("testNoDoubleSchemaLocation",↵ | | 14 | expectBuildExceptionContaining("testNo↵
|
15 | "two locations for schemas",↵ | | |
|
16 | SchemaValidate.SchemaLocation↵ | | 15 | Files",↵
|
| | | 16 | "no files",↵
|
17 | .ERROR_TWO_LOCATIONS);↵ | | 17 | SignJar.ERROR_NO_SOURCE);↵
|
18 | | | 18 |
|