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