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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.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/document/LauncherActivityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
index 64cb7cfdb146f0087981fbabd143883962b88a86..cbb34419b0d60394e9286782386f751e813de996 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
@@ -49,7 +49,7 @@ public class LauncherActivityTest extends ChromeActivityTestCaseBase<ChromeActiv
}
@SmallTest
- public void testLaunchWithUrlNoScheme() throws InterruptedException {
+ public void testLaunchWithUrlNoScheme() {
// Prepare intent
final String intentUrl = "www.google.com";
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(intentUrl));
@@ -62,7 +62,7 @@ public class LauncherActivityTest extends ChromeActivityTestCaseBase<ChromeActiv
}
@SmallTest
- public void testDoesNotCrashWithBadParcel() throws InterruptedException {
+ public void testDoesNotCrashWithBadParcel() {
// Prepare bad intent
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
final Parcel parcel = Parcel.obtain();
@@ -81,7 +81,7 @@ public class LauncherActivityTest extends ChromeActivityTestCaseBase<ChromeActiv
assertEquals("Action was not preserved", intent.getAction(), activityIntent.getAction());
}
- private Activity tryLaunchingChrome(final Intent intent) throws InterruptedException {
+ private Activity tryLaunchingChrome(final Intent intent) {
mContext.startActivity(intent);
// Check that ChromeLauncher Activity successfully launched

Powered by Google App Engine
This is Rietveld 408576698