| Index: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| index 5228deef1ac0887c2811e60ad9faa101e5196367..179fb597560c0ac1e28a6f46568b0247d81f34c6 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| @@ -58,7 +58,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| private EmbeddedTestServer mTestServer;
|
| private InfoBarTestAnimationListener mListener;
|
|
|
| - private void waitUntilNoInfoBarsExist() throws InterruptedException {
|
| + private void waitUntilNoInfoBarsExist() {
|
| CriteriaHelper.pollUiThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -67,7 +67,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| });
|
| }
|
|
|
| - private void waitUntilDataReductionPromoInfoBarAppears() throws InterruptedException {
|
| + private void waitUntilDataReductionPromoInfoBarAppears() {
|
| CriteriaHelper.pollUiThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -208,7 +208,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
|
| @Feature({"Browser", "Main"})
|
| @RetryOnFailure
|
| - public void testDataReductionPromoInfoBar() throws InterruptedException {
|
| + public void testDataReductionPromoInfoBar() {
|
| ThreadUtils.runOnUiThreadBlocking(new Runnable() {
|
| @Override
|
| public void run() {
|
| @@ -269,7 +269,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
|
| @Feature({"Browser", "Main"})
|
| @RetryOnFailure
|
| - public void testDataReductionPromoInfoBarDismissed() throws InterruptedException {
|
| + public void testDataReductionPromoInfoBarDismissed() {
|
| ThreadUtils.runOnUiThreadBlocking(new Runnable() {
|
| @Override
|
| public void run() {
|
|
|