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