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