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