1 | void testNoSrc() throws Exception {↵ | | 1 | void testNoEmptySchemaNamespace() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoSrc",↵ | | 2 | expectBuildExceptionContaining("testNoEmptySchemaNamespace",↵
|
3 | "expected failure",↵ | | 3 | "e↵
|
4 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | |
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testDestIsDir↵ | | 4 | mpty namespace URI",SchemaValidate.SchemaLocation.ERROR_NO_URI);↵
|
| | | 5 | }↵
|
|
10 | () throws Exception {↵ | | 6 | public void testNoEmptySchemaLocation() throws Exception {↵
|
11 | expectBuildExceptionContaining("testDestIsDir",↵ | | 7 | expectBuildExceptionContaining("testNoEmptySchemaLocation",↵
|
12 | "expected failure",↵ | | 8 | "e↵
|
13 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | |
|
14 | }↵ | | |
|
|
15 | /**↵ | | |
|
16 | * A unit test for JUnit↵ | | |
|
17 | */↵ | | 9 | mpty schema location",↵
|
| | | 10 | SchemaValidate.SchemaLocation.ERROR_NO_LOCATION);↵
|
| | | 11 | }↵
|
|
18 | public void testBothSrc() throws Exception {↵ | | 12 | public void testNoFile() throws Exception {↵
|
19 | expectBuildExceptionContaining("testBothSrc",↵ | | 13 | expectBuildExceptionContaining("testNoFile",↵
|
20 | "expected failure",↵ | | 14 | "no file at file attribute",↵
|
21 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵ | | 15 | ↵
|
22 | }↵ | | |
|
23 | /**↵ | | |
|
24 | * A unit test for JUnit↵ | | |
|
25 | */↵ | | |
|
26 | public void testSrcIsDir↵ | | 16 | SchemaValidate.SchemaLocation.ERROR_NO_FILE);↵
|
| | | 17 | }↵
|
|
27 | () throws Exception {↵ | | 18 | public void testNoDoubleSchemaLocation() throws Exception {↵
|
28 | expectBuildExceptionContaining("testSrcIsDir",↵ | | 19 | expectBuildExceptionContaining("test↵
|
29 | "expected failure",↵ | | |
|
30 | WsdlToDotnet.Schema.ERROR_FILE_IS_DIR);↵ | | |
|
31 | }↵ | | |
|
|
32 | /**↵ | | |
|
33 | * A unit test for JUnit↵ | | |
|
34 | */↵ | | 20 | NoDoubleSchemaLocation",↵
|
| | | 21 | "two locations for schemas",↵
|
| | | 22 | SchemaValidate.SchemaLocation.ERROR_TWO_LOCATIONS);↵
|
| | | 23 | }↵
|
35 | public void testSrcIsMissing() throws Exception {↵ | | 24 | public void testNoDuplicateSchema() throws Exception {↵
|
36 | expectBuildExceptionContaining("testSrcIsMissing",↵ | | 25 | expectBuildExceptionContaining("testNoDuplicateSchema",↵
|
37 | "expected failure",↵ | | 26 | "↵
|
38 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND);↵ | | |
|
39 | }↵ | | |
|
|
40 | /**↵ | | |
|
41 | * A unit test for JUnit↵ | | |
|
42 | */↵ | | 27 | duplicate schemas with different values",↵
|
| | | 28 | SchemaValidate.ERROR_DUPLICATE_SCHEMA);↵
|
| | | 29 | }↵
|
|
43 | public void testLocalWsdl() throws Exception {↵ | | 30 | public void testEqualsSchemasOK() throws Exception {↵
|
44 | executeTarget("testLocalWsdl");↵ | | 31 | executeTarget("test↵
|
45 | }↵ | | |
|
46 | /**↵ | | |
|
47 | * A unit test for JUnit↵ | | |
|
48 | */↵ | | 32 | EqualsSchemasOK");↵
|
| | | 33 | }↵
|
|
49 | public void testLocalWsdlServer() throws Exception {↵ | | 34 | public void testFileset() throws Exception {↵
|
50 | executeTarget("testLocalWsdlServer");↵ | | 35 | executeTarget("testFileset");↵
|
51 | | | 36 |
|