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