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