Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1749)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Issue 2837293002: [InputEvent] Mark InputEvent and StaticRange as stable (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52e8f1248b133997191a1c4acf5bcbdbc7e44dc6..edf7101d03a303cd8b575a15d08d6ac4c4517249 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
@@ -1253,7 +1253,7 @@ public class ImeTest {
mRule.waitAndVerifyUpdateSelection(0, 1, 1, 0, 1);
// TODO(changwan): reduce the number of selection changes.
mRule.waitForEventLogs(
- "keydown(229),compositionstart(),compositionupdate(a),input,keyup(229),"
+ "keydown(229),compositionstart(),compositionupdate(a),input(a),keyup(229),"
+ "selectionchange,selectionchange");
mRule.clearEventLogs();
@@ -1270,7 +1270,7 @@ public class ImeTest {
mRule.waitAndVerifyUpdateSelection(0, 1, 1, 0, 1);
// TODO(changwan): reduce the number of selection changes.
mRule.waitForEventLogs("keydown(229),compositionstart(),compositionupdate(a),"
- + "input,keyup(229),selectionchange,selectionchange");
+ + "input(a),keyup(229),selectionchange,selectionchange");
mRule.clearEventLogs();
mRule.finishComposingText();
@@ -1289,7 +1289,7 @@ public class ImeTest {
mRule.commitText("a", 1);
mRule.waitAndVerifyUpdateSelection(0, 1, 1, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(a),keyup(229),selectionchange");
}
@Test
@@ -1299,7 +1299,7 @@ public class ImeTest {
mRule.commitText("a", 1);
mRule.waitAndVerifyUpdateSelection(0, 1, 1, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(a),keyup(229),selectionchange");
}
@Test
@@ -1312,7 +1312,7 @@ public class ImeTest {
mRule.commitText("hello", 1);
mRule.waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(hello),keyup(229),selectionchange");
mRule.clearEventLogs();
mRule.setSelection(2, 2);
@@ -1334,7 +1334,7 @@ public class ImeTest {
public void testInputTextEvents_DeleteSurroundingText() throws Throwable {
mRule.commitText("hello", 1);
mRule.waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(hello),keyup(229),selectionchange");
mRule.clearEventLogs();
mRule.setSelection(2, 2);
@@ -1359,7 +1359,7 @@ public class ImeTest {
mRule.commitText("hello", 1);
mRule.waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(hello),keyup(229),selectionchange");
mRule.clearEventLogs();
mRule.setSelection(2, 2);
@@ -1380,7 +1380,7 @@ public class ImeTest {
public void testInputTextEvents_DeleteSurroundingTextInCodePoints() throws Throwable {
mRule.commitText("hello", 1);
mRule.waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
- mRule.waitForEventLogs("keydown(229),input,keyup(229),selectionchange");
+ mRule.waitForEventLogs("keydown(229),input(hello),keyup(229),selectionchange");
mRule.clearEventLogs();
mRule.setSelection(2, 2);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698