1 | void tearDown() {↵ | | 1 | void testParseableErrorsIgnoredWhenFalse() throws Exception {↵
|
2 | executeTarget("teardown");↵ | | 2 | executeTarget("testLocalWsdl");↵
|
3 | }↵ | | 3 | }↵
|
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * A unit test for JUnit↵ | | 5 | * A unit test for JUnit↵
|
6 | */↵ | | 6 | */↵
|
7 | public void testNoParams() throws Exception {↵ | | 7 | public void testSchemaFileMustExist() throws Exception {↵
|
8 | expectBuildExceptionContaining("testNoParams",↵ | | 8 | expectBuildExceptionContaining("testSchemaFileMustExist",↵
|
9 | "expected failure",↵ | | 9 | "expected failure",↵
|
10 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵ | | 10 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * A unit test for JUnit↵ | | 13 | * A unit test for JUnit↵
|
14 | */↵ | | 14 | */↵
|
15 | public void testNoSrc() throws Exception {↵ | | 15 | public void testSchemaFileMustHaveOneOptionOnly() throws Exception {↵
|
16 | expectBuildExceptionContaining("testNoSrc",↵ | | 16 | expectBuildExceptionContaining("testSchemaFileMustHaveOneOptionOnly",↵
|
17 | "expected failure",↵ | | 17 | "expected failure",↵
|
18 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | 18 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
19 | }↵ | | 19 | }↵
|
|
20 | /**↵ | | 20 | /**↵
|
21 | * A unit test for JUnit↵ | | 21 | * A unit test for JUnit↵
|
22 | */↵ | | 22 | */↵
|
23 | public void testDestIsDir() throws Exception {↵ | | 23 | public void testSchemaMustBeSet() throws Exception {↵
|
24 | expectBuildExceptionContaining("testDestIsDir",↵ | | 24 | expectBuildExceptionContaining("testSchemaMustBeSet",↵
|
25 | "expected failure",↵ | | 25 | "expected failure",↵
|
26 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | 26 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
27 | | | 27 |
|