| 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 59436513d1c60229219955b11d38c169519cbaf3..639144d43989c1146e34fd1341ea2f60a5769751 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
|
| @@ -153,6 +153,7 @@ public class ThreadedInputConnectionFactoryTest {
|
| new Answer<InputConnection>() {
|
| @Override
|
| public InputConnection answer(InvocationOnMock invocation) throws Throwable {
|
| + mFactory.setTriggerDelayedOnCreateInputConnection(false);
|
| return ThreadUtils.runOnUiThreadBlockingNoException(callable);
|
| }
|
| });
|
| @@ -200,6 +201,8 @@ public class ThreadedInputConnectionFactoryTest {
|
| @Test
|
| @Feature({"TextInput"})
|
| public void testCreateInputConnection_Success() {
|
| + mFactory.setTriggerDelayedOnCreateInputConnection(true);
|
| +
|
| // Pause all the loopers.
|
| Robolectric.getForegroundThreadScheduler().pause();
|
| mImeShadowLooper.pause();
|
| @@ -239,6 +242,8 @@ public class ThreadedInputConnectionFactoryTest {
|
| @Test
|
| @Feature({"TextInput"})
|
| public void testCreateInputConnection_Failure() {
|
| + mFactory.setTriggerDelayedOnCreateInputConnection(true);
|
| +
|
| // Pause all the loopers.
|
| Robolectric.getForegroundThreadScheduler().pause();
|
| mImeShadowLooper.pause();
|
|
|