but System call are not being intercept by Roboeletric
any workaround this?
@sibeliusseraphini on rare occasions I really need this I use dependency injection and just mock my CustomTimeProvider
Thanks, @karlicoss. I've decided to use dependency injection with dagger 2 and having a TimeProvider and it worked great
So I've been encountering a ton of issues with Robolectric and PowerMock
I'm having to ignore large parts of my code so that the classloaders don't clash
I haven't dealt with classloaders much, but surely there must be a better way?
How should I start with Robolectric? I want to unit test a service which extends from a JobService
should I use the RObolectricTestRunner or the AndroidJUnit4? Are there good examples?
which dependencies when using gradle 4.1 and SDK 27?
how to use it together with PowerMockito?
Hi everyone, are PopupWindow(s) supported? I have a test that correctly create a PopupWindow, but the latter doesn't get the window focus (View.hasWindowsFocus()) neither checks for displayed (onView(withId(R.id.view1)).check(matches(isDisplayed()))