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