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