mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Fix test
This commit is contained in:
parent
c40d105574
commit
72ccc48d16
@ -23,9 +23,6 @@ import android.net.Uri;
|
|||||||
import org.sufficientlysecure.keychain.pgp.CanonicalizedPublicKeyRing;
|
import org.sufficientlysecure.keychain.pgp.CanonicalizedPublicKeyRing;
|
||||||
import org.sufficientlysecure.keychain.provider.ProviderHelper;
|
import org.sufficientlysecure.keychain.provider.ProviderHelper;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by art on 21/06/14.
|
|
||||||
*/
|
|
||||||
class ProviderHelperStub extends ProviderHelper {
|
class ProviderHelperStub extends ProviderHelper {
|
||||||
public ProviderHelperStub(Context context) {
|
public ProviderHelperStub(Context context) {
|
||||||
super(context);
|
super(context);
|
||||||
|
@ -33,7 +33,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
@org.robolectric.annotation.Config(emulateSdk = 18) // Robolectric doesn't yet support 19
|
@org.robolectric.annotation.Config(emulateSdk = 18) // Robolectric doesn't yet support 19
|
||||||
public class FileImportCacheTest {
|
public class ParcelableFileCacheTest {
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
@ -43,7 +43,7 @@ public class FileImportCacheTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testInputOutput() throws Exception {
|
public void testInputOutput() throws Exception {
|
||||||
|
|
||||||
FileImportCache<Bundle> cache = new FileImportCache<Bundle>(Robolectric.application, "test.pcl");
|
ParcelableFileCache<Bundle> cache = new ParcelableFileCache<Bundle>(Robolectric.application, "test.pcl");
|
||||||
|
|
||||||
ArrayList<Bundle> list = new ArrayList<Bundle>();
|
ArrayList<Bundle> list = new ArrayList<Bundle>();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user