1 | void testNSMapping() throws Exception {↵ | | 1 | void testParseableErrorsIgnoredWhenFalse() throws Exception {↵
|
2 | executeTarget("testNSMapping");↵ | | 2 | executeTarget("testLocalWsdl");↵
|
3 | }↵ | | 3 | }↵
|
|
| | | 4 | /**↵
|
| | | 5 | * A unit test for JUnit↵
|
| | | 6 | */↵
|
4 | public void testNoEmptySchemaNamespace() throws Exception {↵ | | 7 | public void testSchemaFileMustExist() throws Exception {↵
|
5 | expectBuildExceptionContaining("testNoEmptySchemaNamespace",↵ | | 8 | expectBuildExceptionContaining("test↵
|
6 | "empty namespace URI",SchemaValidate.SchemaLocation↵ | | 9 | SchemaFileMustExist",↵
|
| | | 10 | "expected failure",↵
|
7 | .ERROR_NO_URI);↵ | | 11 | WsdlToDotnet.Schema.ERROR_↵
|
8 | }↵ | | |
|
|
9 | public void testNoEmptySchemaLocation↵ | | 12 | FILE_NOT_FOUND);↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * A unit test for JUnit↵
|
| | | 16 | */↵
|
10 | () throws Exception {↵ | | 17 | public void testSchemaFileMustHaveOneOptionOnly() throws Exception {↵
|
11 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵ | | 18 | expectBuildExceptionContaining("testSchemaFileMustHaveOneOptionOnly",↵
|
12 | "empty schema location",↵ | | 19 | "e↵
|
13 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION↵ | | 20 | xpected failure",↵
|
14 | );↵ | | 21 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
15 | | | 22 |
|