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);↵ | | |
|
14 | }↵ | | |
|
| | | 20 | xpected failure",↵
|
| | | 21 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
| | | 22 | }↵
|
|
| | | 23 | /**↵
|
| | | 24 | * A unit test for JUnit↵
|
| | | 25 | */↵
|
15 | public void testNoFile() throws Exception {↵ | | 26 | public void testSchemaMustBeSet() throws Exception {↵
|
16 | expectBuildExceptionContaining("testNoFile",↵ | | 27 | expectBuildExceptionContaining("testSchemaMustBeSet",↵
|
17 | "no file at file attribute",↵ | | 28 | "expected failure",↵
|
18 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵ | | 29 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
19 | | | 30 |
|