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