From 72ccc48d160cf007d02c4427e74836816d32de3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Tue, 9 Sep 2014 09:40:15 +0200 Subject: [PATCH] Fix test --- .../keychain/support/ProviderHelperStub.java | 3 --- ...{FileImportCacheTest.java => ParcelableFileCacheTest.java} | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) rename OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/{FileImportCacheTest.java => ParcelableFileCacheTest.java} (93%) diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/ProviderHelperStub.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/ProviderHelperStub.java index 2cd0c67a2..0573f07fb 100644 --- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/ProviderHelperStub.java +++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/ProviderHelperStub.java @@ -23,9 +23,6 @@ import android.net.Uri; import org.sufficientlysecure.keychain.pgp.CanonicalizedPublicKeyRing; import org.sufficientlysecure.keychain.provider.ProviderHelper; -/** - * Created by art on 21/06/14. - */ class ProviderHelperStub extends ProviderHelper { public ProviderHelperStub(Context context) { super(context); diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/FileImportCacheTest.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/ParcelableFileCacheTest.java similarity index 93% rename from OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/FileImportCacheTest.java rename to OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/ParcelableFileCacheTest.java index c5b53e95b..ba9ba7369 100644 --- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/FileImportCacheTest.java +++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/util/ParcelableFileCacheTest.java @@ -33,7 +33,7 @@ import java.util.List; @RunWith(RobolectricTestRunner.class) @org.robolectric.annotation.Config(emulateSdk = 18) // Robolectric doesn't yet support 19 -public class FileImportCacheTest { +public class ParcelableFileCacheTest { @Before public void setUp() throws Exception { @@ -43,7 +43,7 @@ public class FileImportCacheTest { @Test public void testInputOutput() throws Exception { - FileImportCache cache = new FileImportCache(Robolectric.application, "test.pcl"); + ParcelableFileCache cache = new ParcelableFileCache(Robolectric.application, "test.pcl"); ArrayList list = new ArrayList();