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