1 | void testNoFile() throws Exception {↵ | | 1 | void testNoEmptySchemaNamespace() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoFile",↵ | | 2 | expectBuildExceptionContaining("testNoEmptySchemaNamespace",↵
|
3 | "no file at file attribute",↵ | | 3 | "↵
|
4 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵ | | 4 | empty namespace URI",SchemaValidate.SchemaLocation.ERROR_NO_URI);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public void testNoDoubleSchemaLocation() throws Exception {↵ | | 6 | public void testNoEmptySchemaLocation() throws Exception {↵
|
7 | expectBuildExceptionContaining("testNoDoubleSchemaLocation",↵ | | 7 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵
|
8 | "two locations for schemas",↵ | | 8 | "empty schema location",↵
|
9 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵ | | 9 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testNoDuplicateSchema() throws Exception {↵ | | 11 | public void testNoFile() throws Exception {↵
|
12 | expectBuildExceptionContaining("testNoDuplicateSchema",↵ | | 12 | expectBuildExceptionContaining("testNoFile",↵
|
13 | "duplicate schemas with different values",↵ | | 13 | "no file at file attribute",↵
|
14 | SchemaValidate.ERROR_DUPLICATE_SCHEMA);↵ | | 14 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
15 | | | 15 |
|