1 | void testNSMapping() throws Exception {↵ | | 1 | void tearDown() {↵
|
2 | executeTarget("testNSMapping");↵ | | 2 | executeTarget("teardown");↵
|
3 | }↵ | | 3 | }↵
|
|
|
|
| | | 4 | /**↵
|
| | | 5 | * A unit test for JUnit↵
|
| | | 6 | */↵
|
4 | public void testNoEmptySchemaNamespace() throws Exception {↵ | | 7 | public void testNoParams() throws Exception {↵
|
5 | expectBuildExceptionContaining("testNoEmptySchemaNamespace",↵ | | 8 | expectBuildExceptionContaining("testNoParams",↵
|
6 | "empty namespace URI",SchemaValidate.SchemaLocation↵ | | 9 | "expected failure",↵
|
7 | .ERROR_NO_URI);↵ | | 10 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵
|
8 | }↵ | | 11 | }↵
|
|
9 | public void testNoEmptySchemaLocation↵ | | 12 | /**↵
|
| | | 13 | * A unit test for JUnit↵
|
| | | 14 | */↵
|
10 | () throws Exception {↵ | | 15 | public void testNoSrc() throws Exception {↵
|
11 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵ | | 16 | expectBuildExceptionContaining("testNoSrc",↵
|
12 | "empty schema location",↵ | | 17 | "e↵
|
13 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵ | | |
|
14 | }↵ | | |
|
| | | 18 | xpected failure",↵
|
| | | 19 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵
|
| | | 20 | }↵
|
|
| | | 21 | /**↵
|
| | | 22 | * A unit test for JUnit↵
|
| | | 23 | */↵
|
15 | public void testNoFile() throws Exception {↵ | | 24 | public void testDestIsDir() throws Exception {↵
|
16 | expectBuildExceptionContaining("testNoFile",↵ | | 25 | expectBuildExceptionContaining("testDestIsDir",↵
|
17 | "no file at file attribute",↵ | | 26 | "expected failure",↵
|
18 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵ | | 27 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵
|
19 | | | 28 |
|