1 | void testBoth() throws Exception {↵ | | 1 | void testTwoMappers() {↵
|
2 | expectBuildExceptionContaining("testBoth",↵ | | 2 | expectBuildExceptionContaining("testTwoMappers",↵
|
3 | "error on two targets",↵ | | 3 | "two mappers",↵
|
4 | IsReachable.ERROR_BOTH_TARGETS);↵ | | 4 | SignJar.ERROR_TOO_MANY_MAPPERS);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public void testNoTargets() throws Exception {↵ | | 6 | public void testNoAlias() {↵
|
7 | expectBuildExceptionContaining("testNoTargets",↵ | | 7 | expectBuildExceptionContaining("testNoAlias",↵
|
8 | "no params",↵ | | 8 | "no alias",↵
|
9 | IsReachable.ERROR_NO_HOSTNAME);↵ | | 9 | SignJar.ERROR_NO_ALIAS);↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testBadTimeout() throws Exception {↵ | | 11 | public void testNoFiles() {↵
|
12 | expectBuildExceptionContaining("testBadTimeout",↵ | | 12 | expectBuildExceptionContaining("testNoFiles",↵
|
13 | "error on -ve timeout",↵ | | 13 | "no files",↵
|
14 | IsReachable.ERROR_BAD_TIMEOUT);↵ | | 14 | SignJar.ERROR_NO_SOURCE);↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public void NotestFile() throws Exception {↵ | | 16 | public void testNoStorePass() {↵
|
17 | expectBuildExceptionContaining("testFile",↵ | | 17 | expectBuildExceptionContaining("testNoStorePass",↵
|
18 | "error on file URL",↵ | | 18 | "no password",↵
|
19 | IsReachable.ERROR_NO_HOST_IN_URL);↵ | | 19 | SignJar.ERROR_NO_STOREPASS);↵
|
20 | | | 20 |
|