1 | void testTwoMappers() {↵ | | 1 | void testNoEmptySchemaNamespace() throws Exception {↵
|
2 | expectBuildExceptionContaining("testTwoMappers",↵ | | 2 | expectBuildExceptionContaining("test↵
|
3 | "two mappers",↵ | | |
|
4 | SignJar.ERROR_TOO_MANY_MAPPERS);↵ | | |
|
5 | }↵ | | |
|
|
6 | public void testNoAlias()↵ | | 3 | NoEmptySchemaNamespace",↵
|
| | | 4 | "empty namespace URI",SchemaValidate.SchemaLocation.ERROR_NO_URI);↵
|
| | | 5 | }↵
|
|
7 | {↵ | | 6 | public void testNoEmptySchemaLocation() throws Exception {↵
|
8 | expectBuildExceptionContaining("testNoAlias",↵ | | 7 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵
|
9 | "no alias",↵ | | 8 | "↵
|
10 | SignJar↵ | | 9 | empty schema location",↵
|
11 | .ERROR_NO_ALIAS);↵ | | 10 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵
|
12 | }↵ | | 11 | }↵
|
|
13 | public void testNoFiles() {↵ | | 12 | public void testNoFile() throws Exception {↵
|
14 | expectBuildExceptionContaining("testNoFiles",↵ | | 13 | expectBuildExceptionContaining("testNoFile",↵
|
15 | "no files",↵ | | 14 | "no file at file attribute",↵
|
16 | SignJar.ERROR_NO_SOURCE);↵ | | 15 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
17 | }↵ | | 16 | }↵
|
|
18 | public void testNoStorePass() {↵ | | 17 | public void testNoDoubleSchemaLocation() throws Exception {↵
|
19 | expectBuildExceptionContaining("testNoStorePass",↵ | | 18 | expectBuildExceptionContaining("testNo↵
|
20 | "no password",↵ | | |
|
21 | SignJar.ERROR_NO_STOREPAS↵ | | 19 | DoubleSchemaLocation",↵
|
| | | 20 | "two locations for schemas",↵
|
22 | S);↵ | | 21 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵
|
23 | } | | 22 | }
|