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