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