1 | void testMagicProperty() throws Exception {↵ | | 1 | void testVerifyJarUnsigned() {↵
|
2 | expectBuildExceptionContaining("testMagicProperty",↵ | | 2 | expectBuildExceptionContaining("testVerifyJarUnsigned",↵
|
3 | "magic property not working",↵ | | 3 | "unsigned JAR file",↵
|
4 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 4 | ↵
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | 5 | VerifyJar.ERROR_NO_VERIFY);↵
|
| | | 6 | }↵
|
|
9 | public void testMagicPropertyOverridesEmptyString() throws Exception {↵ | | 7 | public void NotestVerifyJarNotInKeystore() {↵
|
10 | expectBuildExceptionContaining("testMagicPropertyOverridesEmptyString",↵ | | 8 | expectBuildExceptionContaining("testVerifyJarNotInKeystore",↵
|
11 | "magic property not working",↵ | | 9 | "signature not in keystore",↵
|
12 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 10 | ↵
|
13 | }↵ | | |
|
|
|
14 | /**↵ | | |
|
15 | *↵ | | |
|
16 | */↵ | | |
|
17 | public void testMagicPropertyIsEmptyString() throws Exception↵ | | 11 | VerifyJar.ERROR_NO_VERIFY);↵
|
| | | 12 | }↵
|
|
18 | {↵ | | 13 | public void testVerifyFileset() {↵
|
19 | executeTarget("testMagicPropertyIsEmptyString");↵ | | 14 | executeTarget("testVerifyFileset");↵
|
20 | | | 15 |
|