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