Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4751)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java

Issue 2573263002: Catch InterruptedException in CriteriaHelper (Closed)
Patch Set: Change OverviewModeBehaviorWatcher back to try/finally Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
index 3a73a3cb16ac0e114aec3dcd5f4d62cb6a27f527..6967d2e6685bb5b8e437983e052a2af73b7318b0 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
@@ -93,7 +93,7 @@ public class AutofillTest extends ChromeActivityTestCaseBase<ChromeActivity> {
public void deleteSuggestion(int listIndex) {
}
- public void waitForCallback() throws InterruptedException {
+ public void waitForCallback() {
CriteriaHelper.pollInstrumentationThread(new Criteria() {
@Override
public boolean isSatisfied() {
@@ -131,8 +131,7 @@ public class AutofillTest extends ChromeActivityTestCaseBase<ChromeActivity> {
};
}
- public void openAutofillPopupAndWaitUntilReady(final AutofillSuggestion[] suggestions)
- throws InterruptedException {
+ public void openAutofillPopupAndWaitUntilReady(final AutofillSuggestion[] suggestions) {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {

Powered by Google App Engine
This is Rietveld 408576698