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