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