1 | void testDestDirAndSignedJar2() {↵ | | 1 | void NotestFailingAdapter() throws Exception {↵
|
2 | expectBuildExceptionContaining("testPathAndSignedJar",↵ | | 2 | expectBuildExceptionContaining("testFailingAdapter",↵
|
3 | "incompatible attributes",↵ | | 3 | "expected failures to propagate",↵
|
4 | SignJar.ERROR_SIGNEDJAR_AND_PATHS);↵ | | 4 | ↵
|
5 | }↵ | | |
|
|
6 | public void testDestDirFileset() {↵ | | |
|
7 | executeTarget("testDestDirFileset");↵ | | 5 | Rmic.ERROR_RMIC_FAILED);↵
|
| | | 6 | }↵
|
|
|
| | | 7 | /**↵
|
| | | 8 | * test that version 1.1 stubs are good↵
|
| | | 9 | * @throws Exception↵
|
| | | 10 | */↵
|
| | | 11 | public void testVersion11() throws Exception {↵
|
| | | 12 | executeTarget("testVersion11");↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * test that version 1.2 stubs are good↵
|
| | | 16 | *↵
|
| | | 17 | * @throws Exception↵
|
8 | }↵ | | 18 | ↵
|
| | | 19 | */↵
|
9 | public void testMapperFileset() {↵ | | 20 | public void testVersion12() throws Exception {↵
|
10 | executeTarget("testMapperFileset");↵ | | 21 | executeTarget("testVersion12");↵
|
| | | 22 | }↵
|
|
| | | 23 | /**↵
|
| | | 24 | * test that version compat stubs are good↵
|
| | | 25 | *↵
|
| | | 26 | * @throws Exception↵
|
11 | }↵ | | 27 | ↵
|
| | | 28 | */↵
|
12 | public void testDestDirPath() {↵ | | 29 | public void testVersionCompat() throws Exception {↵
|
13 | executeTarget("testDestDirPath");↵ | | 30 | executeTarget("testVersionCompat");↵
|
14 | }↵ | | 31 | }↵
|
|
15 | public void testMapperPath()↵ | | 32 | /**↵
|
| | | 33 | * test that passes -Xnew to sun's rmic.↵
|
| | | 34 | *↵
|
| | | 35 | * @throws Exception↵
|
| | | 36 | */↵
|
16 | {↵ | | 37 | public void testXnew() throws Exception {↵
|
17 | executeTarget("testMapperPath");↵ | | 38 | executeTarget("testXnew");↵
|
18 | | | 39 |
|