Nico Küchler
Nico Küchler
here is an idea to add the test source folder to the android project view. It works but I have not much tests done, perhaps it have some bad side...
I found following scenario to reproduce this issue. Version 4.2.0 Set a breakpoint in `com.journeyapps.barcodescanner.camera.CameraInstance` on line 215 `readyHandler.obtainMessage(R.id.zxing_prewiew_size_ready, getPreviewSize()).sendToTarget();` When the breakpoint is reached, then close/recreate the fragment/activity which...
From command line or inside Android Studio? I can take a look later.
There is an issue with the path resolution for libraries. I wrote a workaround until next robolectric release candidate. In the snapshot version it should already be fixed.
This issue should not exist anymore. Please describe your steps to reproduce it and your used tools version and OS.
Looks like there are issues with the styling. Did you add the shadow-v4 dependencies?
I can't reproduce it. I deleted the `style.xml` from the app module and did a `./gradlew clean app:test` and the tests run like expected. Best would be if your fork...
Perhaps same issue like https://github.com/robolectric/robolectric/issues/1736 ?
As a fast workaround read `Note for Mac User` at http://robolectric.org/getting-started/ I will take a look why my workaround does not work anymore.
Now it should work again