aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-03-10 21:55:19 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2015-03-10 21:56:13 +0100
commit00593ab1de79aaf73af9380560f2d6532753d015 (patch)
treecaa0557c5e145b04af3146cbddf272c0da29190a
parentc3a354806c73a93e6ff15a52229ee27cce967c5b (diff)
disable the test until we setup a git repo for testing
-rw-r--r--app/src/androidTest/java/com/zeapo/pwdstore/GitActivityClone.java50
1 files changed, 25 insertions, 25 deletions
diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/GitActivityClone.java b/app/src/androidTest/java/com/zeapo/pwdstore/GitActivityClone.java
index 10d33472..80a915f8 100644
--- a/app/src/androidTest/java/com/zeapo/pwdstore/GitActivityClone.java
+++ b/app/src/androidTest/java/com/zeapo/pwdstore/GitActivityClone.java
@@ -82,30 +82,30 @@ public class GitActivityClone extends ActivityInstrumentationTestCase2<GitActivi
}
});
- mInstrumentation.waitForIdleSync();
-
- solo.clearEditText(server_user);
- solo.enterText(server_user, "testpwd");
- solo.clearEditText(server_path);
- solo.enterText(server_path, "repo-test");
- solo.clearEditText(server_url);
- solo.enterText(server_url, "192.168.1.28");
-
- mInstrumentation.waitForIdleSync();
-
- gitActivity.runOnUiThread(new Runnable() {
- public void run() {
- connectionModeSpinner.setSelection(1); // user/pwd
- ((Button) gitActivity.findViewById(R.id.clone_button)).performClick();
- }
- });
-
- mInstrumentation.waitForIdleSync();
-
- assertTrue("Could not find the dialog!", solo.searchText(gitActivity.getResources().getString(R.string.passphrase_dialog_title)));
- solo.enterText(solo.getEditText("Password"), "test");
- solo.clickOnButton(gitActivity.getResources().getString(R.string.dialog_ok));
-
- mInstrumentation.waitForIdleSync();
+// mInstrumentation.waitForIdleSync();
+//
+// solo.clearEditText(server_user);
+// solo.enterText(server_user, "testpwd");
+// solo.clearEditText(server_path);
+// solo.enterText(server_path, "repo-test");
+// solo.clearEditText(server_url);
+// solo.enterText(server_url, "192.168.1.28");
+//
+// mInstrumentation.waitForIdleSync();
+//
+// gitActivity.runOnUiThread(new Runnable() {
+// public void run() {
+// connectionModeSpinner.setSelection(1); // user/pwd
+// ((Button) gitActivity.findViewById(R.id.clone_button)).performClick();
+// }
+// });
+//
+// mInstrumentation.waitForIdleSync();
+//
+// assertTrue("Could not find the dialog!", solo.searchText(gitActivity.getResources().getString(R.string.passphrase_dialog_title)));
+// solo.enterText(solo.getEditText("Password"), "test");
+// solo.clickOnButton(gitActivity.getResources().getString(R.string.dialog_ok));
+//
+// mInstrumentation.waitForIdleSync();
}
}