1 | void testFTPURL() throws Exception {↵ | | 1 | void testMapperPath() {↵
|
2 | executeTarget("testFTPURL");↵ | | 2 | executeTarget("testMapperPath");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testBoth() throws Exception {↵ | | 4 | public void testMapperNoDest() {↵
|
5 | expectBuildExceptionContaining("testBoth",↵ | | 5 | expectBuildExceptionContaining("testMapperNoDest",↵
|
6 | "error on two targets",↵ | | 6 | "two mappers",↵
|
7 | IsReachable.ERROR_BOTH_TARGETS);↵ | | 7 | SignJar.ERROR_MAPPER_WITHOUT_DEST);↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testNoTargets() throws Exception {↵ | | 9 | public void testTwoMappers() {↵
|
10 | expectBuildExceptionContaining("testNoTargets",↵ | | 10 | expectBuildExceptionContaining("testTwoMappers",↵
|
11 | "no params",↵ | | 11 | "two mappers",↵
|
12 | IsReachable.ERROR_NO_HOSTNAME);↵ | | 12 | ↵
|
13 | }↵ | | |
|
|
14 | public void testBadTimeout() throws Exception↵ | | 13 | SignJar.ERROR_TOO_MANY_MAPPERS);↵
|
| | | 14 | }↵
|
|
15 | {↵ | | 15 | public void testNoAlias() {↵
|
16 | expectBuildExceptionContaining("testBadTimeout",↵ | | 16 | expectBuildExceptionContaining("testNoAlias",↵
|
17 | "error on -ve timeout",↵ | | 17 | "no alias",↵
|
18 | IsReachable.ERROR_BAD_TIMEOUT);↵ | | 18 | SignJar.ERROR_NO_ALIAS);↵
|
19 | | | 19 |
|