| Index: content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
|
| index 456d210045bc01f1ff0112a6cb9dc966627f36d7..f2c1b0e028f12001ee721568a0af5f4afd73e019 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
|
| @@ -651,8 +651,7 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
|
| });
|
| }
|
|
|
| - private void waitForClipboardContents(final Context context, final String expectedContents)
|
| - throws InterruptedException {
|
| + private void waitForClipboardContents(final Context context, final String expectedContents) {
|
| CriteriaHelper.pollUiThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -665,8 +664,7 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
|
| });
|
| }
|
|
|
| - private void waitForSelectActionBarVisible(
|
| - final boolean visible) throws InterruptedException {
|
| + private void waitForSelectActionBarVisible(final boolean visible) {
|
| CriteriaHelper.pollUiThread(Criteria.equals(visible, new Callable<Boolean>() {
|
| @Override
|
| public Boolean call() {
|
| @@ -721,7 +719,7 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
|
| clipboardManager.setPrimaryClip(clip);
|
| }
|
|
|
| - private void waitForPastePopupStatus(final boolean show) throws InterruptedException {
|
| + private void waitForPastePopupStatus(final boolean show) {
|
| CriteriaHelper.pollUiThread(Criteria.equals(show, new Callable<Boolean>() {
|
| @Override
|
| public Boolean call() {
|
| @@ -730,7 +728,7 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
|
| }));
|
| }
|
|
|
| - private void waitForInsertion(final boolean show) throws InterruptedException {
|
| + private void waitForInsertion(final boolean show) {
|
| CriteriaHelper.pollUiThread(Criteria.equals(show, new Callable<Boolean>() {
|
| @Override
|
| public Boolean call() {
|
|
|