diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-06-29 15:08:30 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-06-29 15:08:30 +0200 |
commit | cf59a8fc308a8988c949c1175c963977f84ee653 (patch) | |
tree | 0f667e68fdf8b269e2f43f38bfe23bacb229dd8b /OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java | |
parent | 7d05905a7caccba2474cd996779ca31497330a10 (diff) | |
parent | 853964670b5b52a8b26864dff9c19f2f8c3fc8c9 (diff) | |
download | open-keychain-cf59a8fc308a8988c949c1175c963977f84ee653.tar.gz open-keychain-cf59a8fc308a8988c949c1175c963977f84ee653.tar.bz2 open-keychain-cf59a8fc308a8988c949c1175c963977f84ee653.zip |
Merge branch 'master' of github.com:open-keychain/open-keychain
Diffstat (limited to 'OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java')
-rw-r--r-- | OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java b/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java index 958c589cb..c651d3a8c 100644 --- a/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java +++ b/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/TestHelpers.java @@ -91,6 +91,10 @@ public class TestHelpers { } + public static void checkAndDismissSnackbar(Style style, @StringRes Integer text) { + checkSnackbar(style, text); + dismissSnackbar(); + } public static void importKeysFromResource(Context context, String name) throws Exception { IteratorWithIOThrow<UncachedKeyRing> stream = UncachedKeyRing.fromStream( |