1 | void testNoParams() throws Exception {↵ | | 1 | void testDestIsDir() throws Exception {↵
|
2 | expectBuildExceptionContaining("testNoParams",↵ | | 2 | expectBuildExceptionContaining("testDestIsDir",↵
|
3 | "expected failure",↵ | | 3 | "expected failure",↵
|
4 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵ | | 4 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * A unit test for JUnit↵ | | 7 | * A unit test for JUnit↵
|
8 | */↵ | | 8 | */↵
|
9 | public void testNoSrc() throws Exception {↵ | | 9 | public void testBothSrc() throws Exception {↵
|
10 | expectBuildExceptionContaining("testNoSrc",↵ | | 10 | expectBuildExceptionContaining("testBothSrc",↵
|
11 | "expected failure",↵ | | 11 | "expected failure",↵
|
12 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | 12 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /**↵ | | 14 | /**↵
|
15 | * A unit test for JUnit↵ | | 15 | * A unit test for JUnit↵
|
16 | */↵ | | 16 | */↵
|
17 | public void testDestIsDir() throws Exception {↵ | | 17 | public void testSrcIsDir() throws Exception {↵
|
18 | expectBuildExceptionContaining("testDestIsDir",↵ | | 18 | expectBuildExceptionContaining("testSrcIsDir",↵
|
19 | "expected failure",↵ | | 19 | "expected failure",↵
|
20 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | 20 | WsdlToDotnet.Schema.ERROR_FILE_IS_DIR);↵
|
21 | }↵ | | 21 | }↵
|
|
22 | /**↵ | | 22 | /**↵
|
23 | * A unit test for JUnit↵ | | 23 | * A unit test for JUnit↵
|
24 | */↵ | | 24 | */↵
|
25 | public void testBothSrc() throws Exception {↵ | | 25 | public void testSrcIsMissing() throws Exception {↵
|
26 | expectBuildExceptionContaining("testBothSrc",↵ | | 26 | expectBuildExceptionContaining("testSrcIsMissing",↵
|
27 | "expected failure",↵ | | 27 | "expected failure",↵
|
28 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵ | | 28 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND);↵
|
29 | | | 29 |
|