aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-22 23:07:38 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-22 23:07:38 +0200
commit1590d8f53852415e8d5c857f83685978fc19ed3a (patch)
treea47cf53b8d702fb9fc608c0e392d3a8d5d9465d6 /OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java
parentaee2ca7b9a346e093512141c856e1022185f5e92 (diff)
downloadopen-keychain-1590d8f53852415e8d5c857f83685978fc19ed3a.tar.gz
open-keychain-1590d8f53852415e8d5c857f83685978fc19ed3a.tar.bz2
open-keychain-1590d8f53852415e8d5c857f83685978fc19ed3a.zip
instrument: some cleanup
Diffstat (limited to 'OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java')
-rw-r--r--OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java b/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java
index 103ab7cd3..e53df4f8d 100644
--- a/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java
+++ b/OpenKeychain/src/androidTest/java/org/sufficientlysecure/keychain/ui/AsymmetricTextOperationTests.java
@@ -143,39 +143,6 @@ public class AsymmetricTextOperationTests {
// make sure the encrypt is correctly set
onView(withId(R.id.result_encryption_icon)).check(matches(withDisplayedChild(1)));
- onView(withId(R.id.encrypt_text_text)).perform(typeText(cleartext));
-
- onView(withId(R.id.encrypt_copy)).perform(click());
- }
-
- // go to decrypt from clipboard view
- pressBack();
- pressBack();
-
- openDrawer(R.id.drawer_layout);
- onView(withText(R.string.nav_encrypt_decrypt)).perform(click());
- onView(withId(R.id.decrypt_from_clipboard)).perform(click());
-
- { // decrypt
-
- onView(withId(R.id.passphrase_passphrase)).perform(typeText("x"));
- onView(withText(R.string.btn_unlock)).perform(click());
-
- onView(isRecyclerItemView(R.id.decrypted_files_list,
- hasDescendant(withText(R.string.filename_unknown_text))))
- .check(matches(allOf(withEncryptionStatus(true), withSignatureNone())));
-
- }
-
- pressBack();
- onView(withId(R.id.decrypt_from_clipboard)).perform(click());
-
- { // decrypt again, passphrase should be cached
-
- onView(isRecyclerItemView(R.id.decrypted_files_list,
- hasDescendant(withText(R.string.filename_unknown_text))))
- .check(matches(allOf(withEncryptionStatus(true), withSignatureNone())));
-
}
}