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