1 | void testDestIsDir() throws Exception {↵ | | 1 | void testNoEmptySchemaLocation() throws Exception {↵
|
2 | expectBuildExceptionContaining("testDestIsDir",↵ | | 2 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵
|
3 | "expected failure",↵ | | 3 | "e↵
|
4 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | |
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | 4 | mpty schema location",↵
|
| | | 5 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵
|
| | | 6 | }↵
|
|
9 | public void testBothSrc() throws Exception {↵ | | 7 | public void testNoFile() throws Exception {↵
|
10 | expectBuildExceptionContaining("testBothSrc",↵ | | 8 | expectBuildExceptionContaining("testNoFile",↵
|
11 | "expected failure",↵ | | 9 | "↵
|
12 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵ | | |
|
13 | }↵ | | |
|
14 | /**↵ | | |
|
15 | * A unit test for JUnit↵ | | |
|
16 | */↵ | | |
|
17 | public void testSrcIsDir↵ | | 10 | no file at file attribute",↵
|
| | | 11 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
| | | 12 | }↵
|
|
18 | () throws Exception {↵ | | 13 | public void testNoDoubleSchemaLocation() throws Exception {↵
|
19 | expectBuildExceptionContaining("testSrcIsDir",↵ | | 14 | expectBuildExceptionContaining("test↵
|
20 | "expected failure",↵ | | |
|
21 | WsdlToDotnet.Schema.ERROR_FILE_IS_DIR);↵ | | |
|
22 | }↵ | | |
|
|
23 | /**↵ | | |
|
24 | * A unit test for JUnit↵ | | |
|
25 | */↵ | | 15 | NoDoubleSchemaLocation",↵
|
| | | 16 | "two locations for schemas",↵
|
| | | 17 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵
|
| | | 18 | }↵
|
26 | public void testSrcIsMissing() throws Exception {↵ | | 19 | public void testNoDuplicateSchema() throws Exception {↵
|
27 | expectBuildExceptionContaining("testSrcIsMissing",↵ | | 20 | expectBuildExceptionContaining("testNoDuplicateSchema",↵
|
28 | "expected failure",↵ | | 21 | "↵
|
29 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND↵ | | 22 | duplicate schemas with different values",↵
|
30 | );↵ | | 23 | SchemaValidate.ERROR_DUPLICATE_SCHEMA);↵
|
31 | | | 24 |
|