1 | void testBadName() throws Exception {↵ | | 1 | void testInvalidExtraOpsVB() throws Exception {↵
|
2 | expectBuildExceptionContaining("testBadName",↵ | | 2 | expectBuildExceptionContaining("testInvalidExtraOpsVB",↵
|
3 | "compiler not known",↵ | | 3 | "expected failure",↵
|
4 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 4 | WSDL_FAILED);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * load an adapter by name↵ | | 7 | * ↵
|
8 | */↵ | | |
|
9 | public void testExplicitClass↵ | | 8 | as if parseable errors were not ignored, mono and WSE1.0 would↵
|
| | | 9 | * crash and burn. So here we verify the property exists,↵
|
| | | 10 | * and that it is not passed to the app when false↵
|
| | | 11 | */↵
|
10 | () throws Exception {↵ | | 12 | public void testParseableErrorsIgnoredWhenFalse() throws Exception {↵
|
11 | executeTarget("testExplicitClass");↵ | | 13 | executeTarget("testLocalWsdl");↵
|
12 | }↵ | | 14 | }↵
|
|
13 | /**↵ | | 15 | /**↵
|
14 | * A unit test for JUnit↵ | | 16 | * A unit test for JUnit↵
|
15 | */↵ | | 17 | */↵
|
16 | public void testWrongClass() throws Exception {↵ | | 18 | public void testSchemaFileMustExist() throws Exception {↵
|
17 | expectBuildExceptionContaining("testWrongClass",↵ | | 19 | expectBuildExceptionContaining("testSchemaFileMustExist",↵
|
18 | "class not an RMIC adapter",↵ | | 20 | "↵
|
19 | RmicAdapterFactory.ERROR_NOT_RMIC_ADAPTER↵ | | 21 | expected failure",↵
|
20 | );↵ | | 22 | WsdlToDotnet.Schema.ERROR_FILE_NOT_FOUND);↵
|
21 | | | 23 |
|