1 | void testFTPURL() throws Exception {↵ | | 1 | void testParseableErrorsIgnoredWhenFalse() throws Exception {↵
|
2 | executeTarget("testFTPURL");↵ | | 2 | executeTarget("testLocalWsdl");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testBoth↵ | | 4 | /**↵
|
| | | 5 | * A unit test for JUnit↵
|
| | | 6 | */↵
|
5 | () throws Exception {↵ | | 7 | public void testSchemaFileMustExist() throws Exception {↵
|
6 | expectBuildExceptionContaining("testBoth",↵ | | 8 | expectBuildExceptionContaining("testSchemaFileMustExist",↵
|
7 | "error on two targets",↵ | | 9 | "e↵
|
8 | IsReachable↵ | | 10 | xpected failure",↵
|
9 | .ERROR_BOTH_TARGETS);↵ | | 11 | WsdlToDotnet.Schema.ERROR_↵
|
10 | }↵ | | |
|
|
11 | public void testNoTargets↵ | | 12 | FILE_NOT_FOUND);↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * A unit test for JUnit↵
|
| | | 16 | */↵
|
12 | () throws Exception {↵ | | 17 | public void testSchemaFileMustHaveOneOptionOnly() throws Exception {↵
|
13 | expectBuildExceptionContaining("testNoTargets",↵ | | 18 | expectBuildExceptionContaining("testSchemaFileMustHaveOneOptionOnly",↵
|
14 | "no params",↵ | | 19 | "expected failure",↵
|
15 | IsReachable.ERROR_NO_HOSTNAME);↵ | | 20 | ↵
|
16 | }↵ | | |
|
| | | 21 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
| | | 22 | }↵
|
|
| | | 23 | /**↵
|
| | | 24 | * A unit test for JUnit↵
|
| | | 25 | */↵
|
17 | public void testBadTimeout() throws Exception {↵ | | 26 | public void testSchemaMustBeSet() throws Exception {↵
|
18 | expectBuildExceptionContaining("testBadTimeout",↵ | | 27 | expectBuildExceptionContaining("testSchemaMustBeSet",↵
|
19 | "error on -ve timeout",↵ | | 28 | "e↵
|
20 | IsReachable.ERROR_BAD_TIMEOUT↵ | | 29 | xpected failure",↵
|
21 | );↵ | | 30 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
22 | | | 31 |
|