Glacier960 / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Support for UTF8 characters in #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is impossible to enter utf8 text using espresso:

onView(withId(viewId)).perform(typeText("łał"));

It is throwning exception:
java.lang.NullPointerException: Failed to get events for string łał
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
at 
com.google.android.apps.common.testing.ui.espresso.base.UiControllerImpl.injectS
tring(UiControllerImpl.java:245)
at 
com.google.android.apps.common.testing.ui.espresso.action.TypeTextAction.perform
(TypeTextAction.java:89)
at 
com.google.android.apps.common.testing.ui.espresso.ViewInteraction$1.run(ViewInt
eraction.java:119)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)

Original issue reported on code.google.com by r.gurzko...@gmail.com on 8 Jul 2014 at 12:52

GoogleCodeExporter commented 9 years ago
Guessing your input method (aka keyboard) is not set up to provide these keys.

Original comment by vale...@google.com on 14 Jul 2014 at 5:06

GoogleCodeExporter commented 9 years ago

Original comment by vale...@google.com on 19 Nov 2014 at 10:10