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