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