Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com>
[Deleted User] <[Deleted User]> #2
Your test is configured to run as a Junit test using Roboelectric.
The work-testing artifact only supports android instrumentation tests. For more information please take a look at:https://github.com/googlesamples/android-architecture-components/blob/master/WorkManagerSample/app/build.gradle#L64
The work-testing artifact only supports android instrumentation tests. For more information please take a look at:
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #3
Hi,
thanks for your answer. I believe this has changed in the last version? as until 1.0.0-alpha11 it was possible to run a Worker in Junit test with Robolectric.
thanks for your answer. I believe this has changed in the last version? as until 1.0.0-alpha11 it was possible to run a Worker in Junit test with Robolectric.
il...@google.com <il...@google.com> #4
We never supported Roboelectric. All WorkManager tests need to run as an Android instrumentation test.
il...@google.com <il...@google.com> #5
I should say, will work once 1.0.0-alpha07 is released :)
lu...@gmail.com <lu...@gmail.com> #6
This is still happening with 1.0.0-alpha07
il...@google.com <il...@google.com> #7
Re #6 - please file a new bug with a sample project that reproduces your issue.
Description
Version used: 1.0.0-alpha02
Devices/Android versions reproduced on:
Nexus 5 w 7.1 (Lineage OS)
In my project I created navigation graph as follows: Pages List -> Single Page -> Page Comments.
Each of destinations have their own Deep Link with some parameters in path:
1) Pages List: <deepLink app:uri="
2) Single Page: <deepLink app:uri="
3) Page Comments: <deepLink app:uri="
And with those path arguments all is OK.
Then if we try to replace path arguments with get query parameters - strange things will begin to happen.
For example if we change Single Page deep link to this `<deepLink app:uri="
Same for Page Comments, if we would add atleast one get query param - it'll always open root page (Pages List) when opened from matched Deep Link.
Here is link for demo project: