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