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