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