1 | void testForkingAntClasspath() throws Exception {↵ | | 1 | void testF↵
|
2 | executeTarget("testForkingAntClasspath");↵ | | |
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * test the forking compiler↵ | | |
|
6 | */↵ | | |
|
7 | public void testAntClasspath() throws Exception↵ | | 2 | ileset() {↵
|
| | | 3 | executeTarget("testFileset");↵
|
| | | 4 | }↵
|
|
8 | {↵ | | 5 | public void testFilesetAndJar() {↵
|
9 | executeTarget("testAntClasspath");↵ | | 6 | executeTarget("testFilesetAndJar");↵
|
10 | }↵ | | 7 | }↵
|
|
11 | /**↵ | | 8 | ↵
|
12 | * A unit test for JUnit↵ | | |
|
13 | */↵ | | |
|
14 | public void testBadName() throws Exception {↵ | | 9 | public void testFilesetAndSignedJar() {↵
|
15 | expectBuildExceptionContaining("testBadName",↵ | | 10 | expectBuildExceptionContaining("testFilesetAndSignedJar",↵
|
16 | "compiler not known",↵ | | 11 | "incompatible attributes",↵
|
17 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 12 | ↵
|
18 | }↵ | | |
|
|
19 | /**↵ | | |
|
20 | * load an adapter by name↵ | | |
|
21 | */↵ | | |
|
22 | public void testExplicitClass() throws Exception↵ | | 13 | SignJar.ERROR_SIGNEDJAR_AND_PATHS);↵
|
| | | 14 | }↵
|
|
23 | {↵ | | 15 | public void testPath() {↵
|
24 | executeTarget("testExplicitClass");↵ | | 16 | executeTarget("testPath");↵
|
25 | } | | 17 | }
|