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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.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: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
index e33a47fd132557636b83a744a07a42dda65cc9b8..6dce98ef3a41d6ab9473320f9b26181156481a81 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
@@ -64,7 +64,7 @@ public class InterstitialPageTest extends ContentShellTestBase {
waitForActiveShellToBeDoneLoading();
}
- private void waitForInterstitial(final boolean shouldBeShown) throws InterruptedException {
+ private void waitForInterstitial(final boolean shouldBeShown) {
CriteriaHelper.pollUiThread(
Criteria.equals(shouldBeShown, new Callable<Boolean>() {
@Override
@@ -80,7 +80,7 @@ public class InterstitialPageTest extends ContentShellTestBase {
@LargeTest
@Feature({"Navigation"})
@RetryOnFailure
- public void testCloseInterstitial() throws InterruptedException, ExecutionException {
+ public void testCloseInterstitial() throws ExecutionException {
final String proceedCommand = "PROCEED";
final String htmlContent = "<html>"
+ "<head>"

Powered by Google App Engine
This is Rietveld 408576698