| Index: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
|
| index d4e2547c6cbccdacc577ee415ea45402b3a5df82..8f091650ecea98e254a474921d934e90c8c5927d 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
|
| @@ -873,16 +873,15 @@ public class ImeTest extends ContentShellTestBase {
|
|
|
| @SmallTest
|
| @Feature({"TextInput"})
|
| - public void testImeSelectAndUnSelectAll() throws Exception {
|
| + public void testImeSelectAndCollapseSelection() throws Exception {
|
| commitText("hello", 1);
|
| waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
|
|
|
| selectAll();
|
| waitAndVerifyUpdateSelection(1, 0, 5, -1, -1);
|
|
|
| - unselect();
|
| -
|
| - assertWaitForKeyboardStatus(false);
|
| + collapseSelection();
|
| + waitAndVerifyUpdateSelection(2, 5, 5, -1, -1);
|
| }
|
|
|
| @SmallTest
|
| @@ -1730,12 +1729,12 @@ public class ImeTest extends ContentShellTestBase {
|
| });
|
| }
|
|
|
| - private void unselect() {
|
| + private void collapseSelection() {
|
| final WebContents webContents = mWebContents;
|
| ThreadUtils.runOnUiThreadBlocking(new Runnable() {
|
| @Override
|
| public void run() {
|
| - webContents.unselect();
|
| + webContents.collapseSelection();
|
| }
|
| });
|
| }
|
|
|