| Index: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfobarTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfobarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfobarTest.java
|
| index 1d829f33bc5cf93bbec8d9d3fb2e578c6d7824f6..75c00d50343a33b86dd963641f461b4281cbf164 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfobarTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfobarTest.java
|
| @@ -63,7 +63,7 @@ public class PermissionUpdateInfobarTest extends ChromeTabbedActivityTestBase {
|
| // permissions.
|
| @MediumTest
|
| public void testInfobarShutsDownCleanlyForGeolocation()
|
| - throws IllegalArgumentException, InterruptedException {
|
| + throws IllegalArgumentException, InterruptedException, TimeoutException {
|
| ChromeTabUtils.newTabFromMenu(getInstrumentation(), getActivity());
|
|
|
| // Register for animation notifications
|
| @@ -104,7 +104,7 @@ public class PermissionUpdateInfobarTest extends ChromeTabbedActivityTestBase {
|
| });
|
|
|
| loadUrl(mTestServer.getURL(GEOLOCATION_PAGE));
|
| - assertTrue("InfoBar not added", mListener.addInfoBarAnimationFinished());
|
| + mListener.addInfoBarAnimationFinished("InfoBar not added");
|
| assertEquals(1, getInfoBars().size());
|
|
|
| final WebContents webContents = ThreadUtils.runOnUiThreadBlockingNoException(
|
| @@ -183,7 +183,7 @@ public class PermissionUpdateInfobarTest extends ChromeTabbedActivityTestBase {
|
| });
|
|
|
| loadUrl(mTestServer.getURL(GEOLOCATION_IFRAME_PAGE));
|
| - assertTrue("InfoBar not added", mListener.addInfoBarAnimationFinished());
|
| + mListener.addInfoBarAnimationFinished("InfoBar not added");
|
| assertEquals(1, getInfoBars().size());
|
|
|
| final WebContents webContents = ThreadUtils.runOnUiThreadBlockingNoException(
|
|
|