Robolectric 4.10.3 is a minor release that addresses two issues:
Fixes robolectric/robolectric#8187, which was a performance regression that was introduced by 87803687f3c6556c3d012ffaa07695d71c3eecd9. This performance regression only occurred if tests did not release transient HandlerThreads at the end of each test. It is still recommended to clean up any HandlerThreads to avoid leaking threads. Thanks @brettchabot for the fix (83110398959107637e2653d49835d5d25db31a89).
Adds additional logging to help diagnose robolectric/robolectric#8205 ( f1e7b43651456e3cb22bc86d48291d60cef64d18), which is a SHA-512 mismatch when fetching android-all Jar files during runtime.
Robolectric 4.10.2 is a minor release that fixes an issue related to re-instrumenting classes that have already been instrumented with Jacoco (1c22a484c39711d4f7270585130bb15990f3cc85).
Robolectric 4.10 adds support for native Android graphics. It is currently disabled by default and can be enabled using @GraphicsMode(NATIVE). When native graphics is enabled, interactions with Android graphics classes use real native Android graphics code and are much higher fidelity.
Behavior changes
In Robolectric 4.10, ReflectionHelpers.setStaticField no longer removes the final keyword from static fields. This is because removing final using reflection stops working in JDK 18 due to https://openjdk.java.net/jeps/416. To remove final from static fields, consider using some instrumentation-based approach, such as mockito-inline.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps org.robolectric:robolectric from 4.9.2 to 4.10.3.
Release notes
Sourced from org.robolectric:robolectric's releases.
... (truncated)
Commits
f9c52b0
Bump version to 4.10.3.f1e7b43
Add additional logging when validating fetched android-all Jars8311039
Only wake non-empty messageQueue on clock updates.24d5efd
Bump version to 4.10.2.3ffdaf7
Fix another edge case in Jacoco instrumentation detection348443c
Bump version to 4.10.1.5127cef
Make ShdadowVibrator compatible with SDK 28+866dacc
Remove precondition check in ShadowActivityThread resetter9551b04
Add support for SQLite 'regexp' methods245c8f6
Bump version to 4.10.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)