1 | void testNoParams() throws Exception {↵ | | 1 | void testNoTargets() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoParams",↵ | | 2 | expectBuildExceptionContaining("testNoTargets",↵
|
3 | "expected failure",↵ | | 3 | "no params",↵
|
4 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵ | | 4 | IsReachable.ERROR_NO_HOSTNAME);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testNoSrc() throws Exception {↵ | | 6 | public void testBadTimeout() throws Exception {↵
|
10 | expectBuildExceptionContaining("testNoSrc",↵ | | 7 | expectBuildExceptionContaining("testBadTimeout",↵
|
11 | "expected failure",↵ | | 8 | "e↵
|
12 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | |
|
13 | }↵ | | |
|
|
14 | /**↵ | | |
|
15 | * A unit test for JUnit↵ | | |
|
16 | */↵ | | |
|
17 | public void testDestIsDir↵ | | 9 | rror on -ve timeout",↵
|
| | | 10 | IsReachable.ERROR_BAD_TIMEOUT);↵
|
| | | 11 | }↵
|
|
18 | () throws Exception {↵ | | 12 | public void NotestFile() throws Exception {↵
|
19 | expectBuildExceptionContaining("testDestIsDir",↵ | | 13 | expectBuildExceptionContaining("testFile",↵
|
20 | "expected failure",↵ | | 14 | "error on file URL",↵
|
21 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | 15 | IsReachable.ERROR_↵
|
22 | }↵ | | |
|
|
23 | /**↵ | | |
|
24 | * A unit test for JUnit↵ | | |
|
25 | */↵ | | 16 | NO_HOST_IN_URL);↵
|
| | | 17 | }↵
|
|
26 | public void testBothSrc() throws Exception {↵ | | 18 | public void testBadURL() throws Exception {↵
|
27 | expectBuildExceptionContaining("testBothSrc",↵ | | 19 | expectBuildExceptionContaining("testBadURL",↵
|
28 | "expected failure",↵ | | 20 | "error in URL",↵
|
29 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵ | | 21 | IsReachable.ERROR_BAD_URL);↵
|
30 | | | 22 |
|