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