Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump robolectric_version from 4.3.1 to 4.4 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps robolectric_version from 4.3.1 to 4.4.
Updates robolectric from 4.3.1 to 4.4

Release notes

Sourced from robolectric's releases.

Robolectric 4.4 is a massive release in terms of improvements to Android compatibility. The most noticeable item in the release is that the new PAUSED looper mode is now the default. You can read about the PAUSED looper in more detail here: http://robolectric.org/blog/2019/06/04/paused-looper/.

Note:

  1. Not all changes are listed in the release notes. There were many other minor changes (such as dependency version bumps) that weren't included in this list for brevity. For all changes view the comparison to 4.3.1.
  2. Some of the pull requests in this release may contain duplicate changes from other pull requests in this release. We apologize for this messy history, it was the result of some misconfigured code sync tool. We’ve taken measures to ensure it doesn’t happen any more.

Use Robolectric:

testCompile "org.robolectric:robolectric:4.4"

SDK/JVM support

Deprecations

  • Deprecate LooperMode LEGACY in favor of PAUSED (#5490), and default to PAUSED looper mode (#5491)
  • Accessibility checking is now deprecated and has been moved into a separate maven artifact org.robolectric:plugin-accessibility-deprecated. Accessibility checking will be removed entirely from Robolectric 4.5. Please switch to Espresso for accessibility checking. (#5547)
  • Deprecate ShadowContentResolver shadow API because they do not work with ContentProviderClient (#5376)
  • Deprecate ShadowLocationManager.getLocationUpdateListeners and ShadowLocationManager.getLocationUpdateListeners (#5150)
  • Make it an error to run on Q with an unsupported java version instead of just silently skipping tests (#5290)
  • Deprecate Robolectric's custom cursor implementation (#5613)
  • The BouncyCastle security provider is now considered deprecated due to the incompatibility with Java 9+ (#5849, #5850). This was preventing Robolectric tests (and Robolectric itself) from making HTTPS network requests on Java 9+. Long term the plan is to switch to Conscrypt.

Android support / Robolectric test API improvements

  • Fix bug in ShadowImageDecoder.decodeBitmap (#4966)
  • Use real setting for WIFI_SCAN_ALWAYS_AVAILABLE (#4968)
  • Add a shadow for Font.Builder (#4993)
  • Add killProcess implementation to ShadowProcess (#4985)
  • Add a shadow for CallLog.Calls (#4996)
  • Add a shadow for CallScreeningService (#4997)
  • Add several shadows for camera2 classes (#4874)
  • Add option to avoid calling ShadowApplication.onServiceDisconnected in ShadowApplication.unbindService (#4979)
  • Add ability to simulate Bluetooth unavailable in ShadowBluetoothAdapter (#5002)
  • Implement ShadowApplicationPackageManager.getApplicationIcon(ApplicationInfo) (#5005)
  • Add ability to simulate SecurityExceptions in bindService (#4980)
  • Add ability to simulate enabled/disabled networks in ShadowWifiManager (#4974)
  • Add ability to simulate wifi usability system APIs in ShadowWifiManager (#5168)
  • Add null check in ShadowWifiManager.addNetwork (#5014)
  • Add shadow implementation of ShadowTelephonyManager#getDataState (#5003)
  • Fall back to Android's implementation of getResourcesForApplication (#4969)
  • Implement ShadowTypeface.equals and ShadowTypeface.hashCode (#4992)
  • Add ability to make ShadowContentResolver.registerContentObserver throw an exception (#4988)
  • Implement ShadowSubscriptionManager.getActiveSubscriptionInfoCountMax (#5010)
  • Add ability to set system dialer package in ShadowTelecomManager (#4986)
Commits
  • 89cb5a8 Bump version to 4.4.
  • 4c8cecb Remove final from ShadowTileService
  • 3d0923c Do not acquire Mockito's MockMethodDispatcher
  • 27fa190 Bump version to 4.4-beta-1.
  • 7544875 Merge pull request #5855 from hoisie/https-cast
  • b6d523b Stop casting to HTTPSUrlConnection in MavenArtifactFetcher
  • 245f5e7 Reopen master for 4.4-SNAPSHOT development
  • 6f4755a Bump version to 4.4-alpha-5.
  • bc0cf79 Merge pull request #5854 from hoisie/handle-existing-directory
  • 72c7eb4 Handle the case where the artifact subdirectory exists
  • Additional commits viewable in compare view

Updates annotations from 4.3.1 to 4.4

Release notes

Sourced from annotations's releases.

Robolectric 4.4 is a massive release in terms of improvements to Android compatibility. The most noticeable item in the release is that the new PAUSED looper mode is now the default. You can read about the PAUSED looper in more detail here: http://robolectric.org/blog/2019/06/04/paused-looper/.

Note:

  1. Not all changes are listed in the release notes. There were many other minor changes (such as dependency version bumps) that weren't included in this list for brevity. For all changes view the comparison to 4.3.1.
  2. Some of the pull requests in this release may contain duplicate changes from other pull requests in this release. We apologize for this messy history, it was the result of some misconfigured code sync tool. We’ve taken measures to ensure it doesn’t happen any more.

Use Robolectric:

testCompile "org.robolectric:robolectric:4.4"

SDK/JVM support

Deprecations

  • Deprecate LooperMode LEGACY in favor of PAUSED (#5490), and default to PAUSED looper mode (#5491)
  • Accessibility checking is now deprecated and has been moved into a separate maven artifact org.robolectric:plugin-accessibility-deprecated. Accessibility checking will be removed entirely from Robolectric 4.5. Please switch to Espresso for accessibility checking. (#5547)
  • Deprecate ShadowContentResolver shadow API because they do not work with ContentProviderClient (#5376)
  • Deprecate ShadowLocationManager.getLocationUpdateListeners and ShadowLocationManager.getLocationUpdateListeners (#5150)
  • Make it an error to run on Q with an unsupported java version instead of just silently skipping tests (#5290)
  • Deprecate Robolectric's custom cursor implementation (#5613)
  • The BouncyCastle security provider is now considered deprecated due to the incompatibility with Java 9+ (#5849, #5850). This was preventing Robolectric tests (and Robolectric itself) from making HTTPS network requests on Java 9+. Long term the plan is to switch to Conscrypt.

Android support / Robolectric test API improvements

  • Fix bug in ShadowImageDecoder.decodeBitmap (#4966)
  • Use real setting for WIFI_SCAN_ALWAYS_AVAILABLE (#4968)
  • Add a shadow for Font.Builder (#4993)
  • Add killProcess implementation to ShadowProcess (#4985)
  • Add a shadow for CallLog.Calls (#4996)
  • Add a shadow for CallScreeningService (#4997)
  • Add several shadows for camera2 classes (#4874)
  • Add option to avoid calling ShadowApplication.onServiceDisconnected in ShadowApplication.unbindService (#4979)
  • Add ability to simulate Bluetooth unavailable in ShadowBluetoothAdapter (#5002)
  • Implement ShadowApplicationPackageManager.getApplicationIcon(ApplicationInfo) (#5005)
  • Add ability to simulate SecurityExceptions in bindService (#4980)
  • Add ability to simulate enabled/disabled networks in ShadowWifiManager (#4974)
  • Add ability to simulate wifi usability system APIs in ShadowWifiManager (#5168)
  • Add null check in ShadowWifiManager.addNetwork (#5014)
  • Add shadow implementation of ShadowTelephonyManager#getDataState (#5003)
  • Fall back to Android's implementation of getResourcesForApplication (#4969)
  • Implement ShadowTypeface.equals and ShadowTypeface.hashCode (#4992)
  • Add ability to make ShadowContentResolver.registerContentObserver throw an exception (#4988)
  • Implement ShadowSubscriptionManager.getActiveSubscriptionInfoCountMax (#5010)
  • Add ability to set system dialer package in ShadowTelecomManager (#4986)
Commits
  • 89cb5a8 Bump version to 4.4.
  • 4c8cecb Remove final from ShadowTileService
  • 3d0923c Do not acquire Mockito's MockMethodDispatcher
  • 27fa190 Bump version to 4.4-beta-1.
  • 7544875 Merge pull request #5855 from hoisie/https-cast
  • b6d523b Stop casting to HTTPSUrlConnection in MavenArtifactFetcher
  • 245f5e7 Reopen master for 4.4-SNAPSHOT development
  • 6f4755a Bump version to 4.4-alpha-5.
  • bc0cf79 Merge pull request #5854 from hoisie/handle-existing-directory
  • 72c7eb4 Handle the case where the artifact subdirectory exists
  • Additional commits viewable in compare view

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `robolectric_version` from 4.3.1 to 4.4.

Updates `robolectric` from 4.3.1 to 4.4
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.3.1...robolectric-4.4)

Updates `annotations` from 4.3.1 to 4.4
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.3.1...robolectric-4.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants