1 | void testMagicProperty() throws Exception {↵ | | 1 | void testDestDirAndSignedJar() {↵
|
2 | expectBuildExceptionContaining("testMagicProperty",↵ | | 2 | expectBuildExceptionContaining("testFilesetAndSignedJar",↵
|
3 | "magic property not working",↵ | | 3 | "incompatible attributes",↵
|
4 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 4 | ↵
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testMagicPropertyOverridesEmptyString() throws Exception↵ | | 5 | SignJar.ERROR_SIGNEDJAR_AND_PATHS);↵
|
| | | 6 | }↵
|
|
10 | {↵ | | 7 | public void testDestDirAndSignedJar2() {↵
|
11 | expectBuildExceptionContaining("testMagicPropertyOverridesEmptyString",↵ | | 8 | expectBuildExceptionContaining("test↵
|
12 | "magic property not working↵ | | 9 | PathAndSignedJar",↵
|
13 | ",↵ | | 10 | "incompatible attributes",↵
|
14 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 11 | ↵
|
15 | }↵ | | |
|
|
|
16 | /**↵ | | |
|
17 | *↵ | | |
|
18 | */↵ | | |
|
19 | public void testMagicPropertyIsEmptyString() throws Exception↵ | | 12 | SignJar.ERROR_SIGNEDJAR_AND_PATHS);↵
|
| | | 13 | }↵
|
|
20 | {↵ | | 14 | public void testDestDirFileset() {↵
|
21 | executeTarget("testMagicPropertyIsEmptyString");↵ | | 15 | executeTarget("testDestDirFileset");↵
|
22 | | | 16 |
|