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