| 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 8cf30bcab30ce8bba083a273cbb9979d874ac312..ffd4241a1bf6dd1d4a4d4cbaa3e93064e67e37a6 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
|
| @@ -184,6 +184,29 @@ public class ImeTest extends ContentShellTestBase {
|
|
|
| @SmallTest
|
| @Feature({"TextInput"})
|
| + public void testSelectActionBarClearedOnTappingInput() throws Exception {
|
| + commitText(mConnection, "Sample Text", 1);
|
| + DOMUtils.longPressNode(this, mContentViewCore, "input_text");
|
| + assertWaitForKeyboardStatus(true);
|
| + assertWaitForSelectActionBarStatus(true);
|
| + DOMUtils.clickNode(this, mContentViewCore, "input_text");
|
| + assertWaitForSelectActionBarStatus(false);
|
| + }
|
| +
|
| + @SmallTest
|
| + @Feature({"TextInput"})
|
| + public void testSelectActionBarClearedOnTappingOutsideInput() throws Exception {
|
| + commitText(mConnection, "Sample Text", 1);
|
| + DOMUtils.longPressNode(this, mContentViewCore, "input_text");
|
| + assertWaitForKeyboardStatus(true);
|
| + assertWaitForSelectActionBarStatus(true);
|
| + DOMUtils.clickNode(this, mContentViewCore, "input_radio");
|
| + assertWaitForKeyboardStatus(false);
|
| + assertWaitForSelectActionBarStatus(false);
|
| + }
|
| +
|
| + @SmallTest
|
| + @Feature({"TextInput"})
|
| public void testImeCut() throws Exception {
|
| commitText(mConnection, "snarful", 1);
|
| waitAndVerifyEditableCallback(mConnection.mImeUpdateQueue, 1, "snarful", 7, 7, -1, -1);
|
|
|