1 | void testNoParams() throws Exception {↵ | | 1 | void testTwoMappers() {↵
|
2 | expectBuildExceptionContaining("testNoParams",↵ | | 2 | expectBuildExceptionContaining("testTwoMappers",↵
|
3 | "expected failure",↵ | | 3 | "two mappers",↵
|
4 | WsdlToDotnet.ERROR_NO_DEST_FILE);↵ | | 4 | ↵
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testNoSrc() throws Exception↵ | | 5 | SignJar.ERROR_TOO_MANY_MAPPERS);↵
|
| | | 6 | }↵
|
|
10 | {↵ | | 7 | public void testNoAlias() {↵
|
11 | expectBuildExceptionContaining("testNoSrc",↵ | | 8 | expectBuildExceptionContaining("testNoAlias",↵
|
12 | "expected failure",↵ | | 9 | "no alias",↵
|
13 | WsdlToDotnet.Schema.ERROR_NONE_DECLARED);↵ | | 10 | ↵
|
14 | }↵ | | |
|
|
15 | /**↵ | | |
|
16 | * A unit test for JUnit↵ | | |
|
17 | */↵ | | |
|
18 | public void testDestIsDir() throws Exception↵ | | 11 | SignJar.ERROR_NO_ALIAS);↵
|
| | | 12 | }↵
|
|
19 | {↵ | | 13 | public void testNoFiles() {↵
|
20 | expectBuildExceptionContaining("testDestIsDir",↵ | | 14 | expectBuildExceptionContaining("testNoFiles",↵
|
21 | "expected failure",↵ | | 15 | "no files",↵
|
22 | WsdlToDotnet.ERROR_DEST_FILE_IS_DIR);↵ | | 16 | ↵
|
23 | }↵ | | |
|
|
24 | /**↵ | | |
|
25 | * A unit test for JUnit↵ | | |
|
26 | */↵ | | |
|
27 | public void testBothSrc() throws Exception↵ | | 17 | SignJar.ERROR_NO_SOURCE);↵
|
| | | 18 | }↵
|
|
28 | {↵ | | 19 | public void testNoStorePass() {↵
|
29 | expectBuildExceptionContaining("testBothSrc",↵ | | 20 | expectBuildExceptionContaining("testNoStorePass",↵
|
30 | "expected failure",↵ | | 21 | "no password",↵
|
31 | WsdlToDotnet.Schema.ERROR_BOTH_DECLARED);↵ | | 22 | SignJar.ERROR_NO_STOREPASS);↵
|
32 | | | 23 |
|