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