diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-22 13:42:03 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-22 13:42:03 +0200 |
commit | 002a391a68688bf1b9a81cc8c667964cd0fe5d71 (patch) | |
tree | ccfccdbb08ca1e8b1b1a8aa7e85a6c8c6cc8d586 /OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java | |
parent | 22ea9c60475b20819a29b535b772b699526d0146 (diff) | |
parent | 012b895e4f4fce0b3846bc688bb2738bde4f819a (diff) | |
download | open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.tar.gz open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.tar.bz2 open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java')
-rw-r--r-- | OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java b/OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java new file mode 100644 index 000000000..265e01170 --- /dev/null +++ b/OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java @@ -0,0 +1,20 @@ +package tests; + +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.robolectric.*; +import org.openintents.openpgp.OpenPgpSignatureResult; +import org.sufficientlysecure.keychain.testsupport.KeyringTestingHelper; +import org.sufficientlysecure.keychain.testsupport.PgpVerifyTestingHelper; + +@RunWith(RobolectricTestRunner.class) +@org.robolectric.annotation.Config(emulateSdk = 18) // Robolectric doesn't yet support 19 +public class ProviderHelperKeyringTest { + + @Test + public void testSavePublicKeyring() throws Exception { + Assert.assertTrue(new KeyringTestingHelper(Robolectric.application).addKeyring()); + } + +} |