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