mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
disable the test until we setup a git repo for testing
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user