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