1 | void testNoSrc() throws Exception {↵ | | 1 | void testNoFile() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoSrc",↵ | | 2 | expectBuildExceptionContaining("testNoFile",↵
|
3 | "expected failure",↵ | | 3 | "↵
|
4 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | |
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testDestIsDir↵ | | 4 | no file at file attribute",↵
|
| | | 5 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
| | | 6 | }↵
|
|
10 | () throws Exception {↵ | | 7 | public void testNoDoubleSchemaLocation() throws Exception {↵
|
11 | expectBuildExceptionContaining("testDestIsDir",↵ | | 8 | expectBuildExceptionContaining("test↵
|
12 | "expected failure",↵ | | |
|
13 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | |
|
14 | }↵ | | |
|
|
15 | /**↵ | | |
|
16 | * A unit test for JUnit↵ | | |
|
17 | */↵ | | 9 | NoDoubleSchemaLocation",↵
|
| | | 10 | "two locations for schemas",↵
|
| | | 11 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵
|
| | | 12 | }↵
|
18 | public void testBothSrc() throws Exception {↵ | | 13 | public void testNoDuplicateSchema() throws Exception {↵
|
19 | expectBuildExceptionContaining("testBothSrc",↵ | | 14 | expectBuildExceptionContaining("testNoDuplicateSchema",↵
|
20 | "expected failure",↵ | | 15 | "↵
|
21 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED↵ | | 16 | duplicate schemas with different values",↵
|
22 | );↵ | | 17 | SchemaValidate.ERROR_DUPLICATE_SCHEMA);↵
|
23 | | | 18 |
|