diff options
author | mar-v-in <github@rvin.mooo.com> | 2014-06-22 16:45:07 +0200 |
---|---|---|
committer | mar-v-in <github@rvin.mooo.com> | 2014-06-22 16:45:07 +0200 |
commit | 9e7e0be82cafc6dc98bbc31099ce0efc36a789a0 (patch) | |
tree | 1a3fa3971d953b1bd8a57479e216ad01e153868a /OpenKeychain/src/test/java/tests/ProviderHelperKeyringTest.java | |
parent | 79fb23b095fba273d77066204ee44d2b8d1edf8d (diff) | |
parent | 9f947aefe63055045b4dfa7087b858f8f3d2987e (diff) | |
download | open-keychain-9e7e0be82cafc6dc98bbc31099ce0efc36a789a0.tar.gz open-keychain-9e7e0be82cafc6dc98bbc31099ce0efc36a789a0.tar.bz2 open-keychain-9e7e0be82cafc6dc98bbc31099ce0efc36a789a0.zip |
Merge branch 'master' of github.com:mar-v-in/open-keychain into improve-file-more
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()); + } + +} |