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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/HistoryUITest.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/HistoryUITest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/HistoryUITest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/HistoryUITest.java
index ae8fe46647dd540447e13157282b607a7d9e621e..bb68f778f236e01453f3f2faedb1c108bc3391be 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/HistoryUITest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/HistoryUITest.java
@@ -125,10 +125,8 @@ public class HistoryUITest extends ChromeActivityTestCaseBase<ChromeActivity> {
/**
* Wait for the UI to show the expected number of results.
* @param expected The number of results that should be loaded.
- * @throws InterruptedException
*/
- private void waitForResultCount(final ContentViewCore cvc, final int expected)
- throws InterruptedException {
+ private void waitForResultCount(final ContentViewCore cvc, final int expected) {
CriteriaHelper.pollInstrumentationThread(
new Criteria() {
@Override

Powered by Google App Engine
This is Rietveld 408576698