Skip to content

flauschtrud/robolectric_bugs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
JanaFlauschata
Feb 23, 2020
b50e7fd · Feb 23, 2020

History

4 Commits
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020
Feb 23, 2020

Repository files navigation

Robolectric Bugs

This project reproduces the following problems that I encountered when using Robolectric with Espresso for Android unit tests:

  • pressKey(KeyEvent.KEYCODE_ENTER) does not seem to have any effect
  • closeSoftKeyboard() does not seem to have any effect

The project includes the same tests both as Robolectric tests and as a real Android instrumentation tests. The instrumentation tests pass and the Robolectric tests fail.

See https://stackoverflow.com/questions/60343443/robolectric-espresso-how-to-perform-typing-a-newline-in-edittext and robolectric/robolectric#5477.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages