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

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

Issue 2365543002: Bring back assertions for beginBatchEdit / endBatchEdit (Closed)
Patch Set: fix test Created 4 years, 3 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 | « content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java ('k') | no next file » | 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 8466f40d17881e18cc51686c1e18cf861c41d064..7cafeeffced2f70c770bc0d5f32f955dc4a23098 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
@@ -1512,13 +1512,11 @@ public class ImeTest extends ContentShellTestBase {
@Override
public void run() {
assertTrue(connection.commitText("a", 1));
- assertTrue(connection.beginBatchEdit());
assertTrue(connection.setComposingText("b", 1));
// Note that the result of this function may not be up-to-date.
connection.getTextBeforeCursor(10, 0);
assertTrue(connection.setComposingText("bc", 1));
- assertFalse(connection.endBatchEdit()); // returns false if no more batch edit.
assertTrue(connection.finishComposingText());
}
});
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698