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