1 | void testNoEmptySchemaLocation() throws Exception {↵ | | 1 | void testBadTimeout() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵ | | 2 | expectBuildExceptionContaining("testBadTimeout",↵
|
3 | "empty schema location",↵ | | 3 | "e↵
|
4 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION↵ | | 4 | rror on -ve timeout",↵
|
5 | );↵ | | 5 | IsReachable.ERROR_BAD_TIMEOUT);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNoFile() throws Exception {↵ | | 7 | public void NotestFile() throws Exception {↵
|
8 | expectBuildExceptionContaining("testNoFile",↵ | | 8 | expectBuildExceptionContaining("testFile",↵
|
9 | "no file at file attribute",↵ | | 9 | "↵
|
10 | SchemaValidate.SchemaLocation.ERROR_NO_FILE↵ | | 10 | error on file URL",↵
|
11 | );↵ | | 11 | IsReachable.ERROR_NO_HOST_IN_URL);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public void testNoDoubleSchemaLocation() throws Exception {↵ | | 13 | public void testBadURL() throws Exception {↵
|
14 | expectBuildExceptionContaining("testNoDoubleSchemaLocation",↵ | | 14 | expectBuildExceptionContaining("test↵
|
15 | "two locations for schemas",↵ | | |
|
16 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS↵ | | 15 | BadURL",↵
|
| | | 16 | "error in URL",↵
|
17 | );↵ | | 17 | IsReachable.ERROR_BAD_URL);↵
|
18 | | | 18 |
|