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