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

Unified Diff: content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java

Issue 2309983002: Allow selection change update before beginBatchEdit (Closed)
Patch Set: fixed a test failure 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
Index: content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java
diff --git a/content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java b/content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java
index af40a611c46b2a5037d815fdfc96af624186158e..5becba32e7dfa2297c2115bddf45dd6b4e976bae 100644
--- a/content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java
+++ b/content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionFactoryTest.java
@@ -221,6 +221,7 @@ public class ThreadedInputConnectionFactoryTest {
mInOrder.verify(mInputMethodManager).isActive(mContainerView);
mInOrder.verify(mProxyView).onCreateInputConnection(any(EditorInfo.class));
mInOrder.verify(mContainerView).getContext(); // BaseInputConnection#<init>
+ mInOrder.verify(mImeAdapter).endBatchEdit();
mInOrder.verifyNoMoreInteractions();
assertNotNull(mInputConnection);
assertTrue(ThreadedInputConnection.class.isInstance(mInputConnection));

Powered by Google App Engine
This is Rietveld 408576698