From a320affe862a7ff38ae60bd65f7c73ac8ddcc337 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Tue, 7 Jul 2015 17:03:55 +0200 Subject: tests: make sure encryption happens to all enc-capable subkeys --- .../org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenKeychain/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java') diff --git a/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java b/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java index fcb458fbe..f32730b47 100644 --- a/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java +++ b/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java @@ -1240,14 +1240,14 @@ public class PgpKeyOperationTest { Assert.assertFalse("non-restricted operations should fail without passphrase", result.success()); } - private static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, + public static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, UncachedKeyRing ring, ArrayList onlyA, ArrayList onlyB) { return applyModificationWithChecks(parcel, ring, onlyA, onlyB, cryptoInput, true, true); } - private static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, + public static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, UncachedKeyRing ring, ArrayList onlyA, ArrayList onlyB, @@ -1256,7 +1256,7 @@ public class PgpKeyOperationTest { } // applies a parcel modification while running some integrity checks - private static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, + public static UncachedKeyRing applyModificationWithChecks(SaveKeyringParcel parcel, UncachedKeyRing ring, ArrayList onlyA, ArrayList onlyB, -- cgit v1.2.3