1 | void testNSMapping() throws Exception {↵ | | 1 | void te↵
|
2 | executeTarget("testNSMapping");↵ | | |
|
3 | }↵ | | |
|
| | | 2 | arDown() {↵
|
| | | 3 | executeTarget("teardown");↵
|
| | | 4 | }↵
|
|
|
|
| | | 5 | /**↵
|
| | | 6 | * A unit test for JUnit↵
|
| | | 7 | */↵
|
4 | public void testNoEmptySchemaNamespace() throws Exception {↵ | | 8 | public void testNoParams() throws Exception {↵
|
5 | expectBuildExceptionContaining("testNoEmptySchemaNamespace",↵ | | 9 | expectBuildExceptionContaining("testNoParams",↵
|
6 | "empty namespace URI",SchemaValidate.SchemaLocation↵ | | 10 | "expected failure",↵
|
7 | .ERROR_NO_URI);↵ | | 11 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵
|
8 | }↵ | | 12 | }↵
|
|
9 | public void testNoEmptySchemaLocation↵ | | 13 | /**↵
|
| | | 14 | * A unit test for JUnit↵
|
| | | 15 | */↵
|
10 | () throws Exception {↵ | | 16 | public void testNoSrc() throws Exception {↵
|
11 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵ | | 17 | expectBuildExceptionContaining("testNoSrc",↵
|
12 | "empty schema location",↵ | | 18 | "e↵
|
13 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION↵ | | 19 | xpected failure",↵
|
14 | );↵ | | 20 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
15 | | | 21 |
|