1 | void testMapperPath() {↵ | | 1 | void testParseableErrorsIgnoredWhenFalse() throws Exception {↵
|
2 | executeTarget("testMapperPath");↵ | | 2 | executeTarget("testLocalWsdl");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testMapperNoDest()↵ | | 4 | /**↵
|
| | | 5 | * A unit test for JUnit↵
|
| | | 6 | */↵
|
5 | {↵ | | 7 | public void testSchemaFileMustExist() throws Exception {↵
|
6 | expectBuildExceptionContaining("testMapperNoDest",↵ | | 8 | expectBuildExceptionContaining("testSchemaFileMustExist",↵
|
7 | "two mappers",↵ | | 9 | "expected failure",↵
|
8 | SignJar.ERROR_MAPPER_WITHOUT_DEST);↵ | | 10 | ↵
|
9 | }↵ | | |
|
|
10 | public void testTwoMappers()↵ | | 11 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * A unit test for JUnit↵
|
| | | 15 | */↵
|
11 | {↵ | | 16 | public void testSchemaFileMustHaveOneOptionOnly() throws Exception {↵
|
12 | expectBuildExceptionContaining("testTwoMappers",↵ | | 17 | expectBuildExceptionContaining("testSchemaFileMustHaveOneOptionOnly",↵
|
13 | "two mappers",↵ | | 18 | "expected failure",↵
|
14 | SignJar.ERROR_TOO_MANY_MAPPERS);↵ | | 19 | ↵
|
15 | }↵ | | |
|
|
16 | public void testNoAlias()↵ | | 20 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
| | | 21 | }↵
|
|
| | | 22 | /**↵
|
| | | 23 | * A unit test for JUnit↵
|
| | | 24 | */↵
|
17 | {↵ | | 25 | public void testSchemaMustBeSet() throws Exception {↵
|
18 | expectBuildExceptionContaining("testNoAlias",↵ | | 26 | expectBuildExceptionContaining("testSchemaMustBeSet",↵
|
19 | "no alias",↵ | | 27 | "expected failure",↵
|
20 | SignJar.ERROR_NO_ALIAS);↵ | | 28 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
21 | } | | 29 | }
|