disable the test until we setup a git repo for testing

This commit is contained in:
Mohamed Zenadi
2015-03-10 21:55:19 +01:00
parent c3a354806c
commit 00593ab1de

View File

@@ -82,30 +82,30 @@ public class GitActivityClone extends ActivityInstrumentationTestCase2<GitActivi
} }
}); });
mInstrumentation.waitForIdleSync(); // mInstrumentation.waitForIdleSync();
//
solo.clearEditText(server_user); // solo.clearEditText(server_user);
solo.enterText(server_user, "testpwd"); // solo.enterText(server_user, "testpwd");
solo.clearEditText(server_path); // solo.clearEditText(server_path);
solo.enterText(server_path, "repo-test"); // solo.enterText(server_path, "repo-test");
solo.clearEditText(server_url); // solo.clearEditText(server_url);
solo.enterText(server_url, "192.168.1.28"); // solo.enterText(server_url, "192.168.1.28");
//
mInstrumentation.waitForIdleSync(); // mInstrumentation.waitForIdleSync();
//
gitActivity.runOnUiThread(new Runnable() { // gitActivity.runOnUiThread(new Runnable() {
public void run() { // public void run() {
connectionModeSpinner.setSelection(1); // user/pwd // connectionModeSpinner.setSelection(1); // user/pwd
((Button) gitActivity.findViewById(R.id.clone_button)).performClick(); // ((Button) gitActivity.findViewById(R.id.clone_button)).performClick();
} // }
}); // });
//
mInstrumentation.waitForIdleSync(); // mInstrumentation.waitForIdleSync();
//
assertTrue("Could not find the dialog!", solo.searchText(gitActivity.getResources().getString(R.string.passphrase_dialog_title))); // assertTrue("Could not find the dialog!", solo.searchText(gitActivity.getResources().getString(R.string.passphrase_dialog_title)));
solo.enterText(solo.getEditText("Password"), "test"); // solo.enterText(solo.getEditText("Password"), "test");
solo.clickOnButton(gitActivity.getResources().getString(R.string.dialog_ok)); // solo.clickOnButton(gitActivity.getResources().getString(R.string.dialog_ok));
//
mInstrumentation.waitForIdleSync(); // mInstrumentation.waitForIdleSync();
} }
} }