pwittchen / prefser

Wrapper for Android SharedPreferences with object serialization and RxJava Observables
Apache License 2.0
228 stars 26 forks source link

Bump robolectric from 4.1 to 4.3 #141

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps robolectric from 4.1 to 4.3.

Release notes *Sourced from [robolectric's releases](https://github.com/robolectric/robolectric/releases).* > ## Robolectric 4.3 > This release introduces a new [PAUSED Looper mode](http://robolectric.org/blog/2019/06/04/paused-looper/), enhanced Espresso compatibility, support for Android Q Beta 2, and numerous SDK support improvements and bug fixes > > ## Features > * Support Android Q beta 2 (build 5415296). [1717fb12a] > * Support for new [`PAUSED`](http://robolectric.org/javadoc/4.3/org/robolectric/annotation/LooperMode.html) `Looper` mode. > * Support clicking menu items via Espresso [issue [#4889](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4889)] > * More realistically measure and layout Android text views > > ## Android SDK support and Test API changes > * Use real OverScroller in PAUSED LooperMode. [43376390183c5f19e75826acca78b0c9b61e40dd] > * Add ShadowDevicePolicyManager#isLockTaskPermitted(String). > * Add Locale methods to Shadow for CaptioningManager. > * Add enabling/disabling data in ShadowTelephonyManager. [issue [#4844](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4844)] > * Add an initial shadow for the LauncherApps System Service. [issue [#4837](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4837)] > * Add ShadowUserManager.removeUser(UserHandle) [issue [#4854](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4854)] > * Add IntentSenderRequest for startIntentSenderForResult methods. [issue [#4870](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4870)] > * Shadow night display ColorDisplayManager methods > * Add getPasswordComplexity support to ShadowDevicePolicyManager [issue [#4878](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4878)] > * Add shadow implementation for ShadowDexFile.isDexOptNeeded. [issue [#4886](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4886)] > * Shadow DisplayManagerGlobal#getStableDisplaySize [issue [#4838](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4838)] > * Shadow ContextImpl.startActivityAsUser [issue [#4899](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4899)] > * Shadow implementation of android.hardware.HardwareBuffer [issue [#4895](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4895)] > * Add shadow for ShadowAppOpsManager#noteProxyOpNoThrow. [issue [#4906](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4906)] > * Add support for new Android Q fields to EventBuilder [issue [#4905](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4905)] > * Add support for UsageStatsManager#getUsageSource() [issue [#4920](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4920)] > * Support stopForeground(int) in ShadowService. [issue [#4919](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4919)] > * Support ShadowSensor#getMaximumRange [issue [#4881](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4881)] > * Add support for passing resultCode through to broadcasts intents [issue [#4917](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4917)] > * Fix activities leaking between test cases [issue [#4930](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4930)] > * Fall back to Android's implementation of PackageManager.getPackageArchiveInfo [issue [#4928](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4928)] > * Add ShadowPausedAsyncTask#overrideExecutor API to replace waitForIdle. [issue [#4950](https://github-redirect.dependabot.com/robolectric/robolectric/issues/4950)] > * Add API `ShadowApplicationPackageManager.getLeanbackLaunchIntentForPackage()` (wraps `getLaunchIntentForPackage()`) [c16c3bf1b] > * Add new shadow `Looper` APIs for retrieving the scheduled time for tasks. [6494bdec3] > * Added Robolectric shadow for `TotalCaptureResult`. [8e1e585d4] > * Add `ShadowLooper#isIdle` [f4a5d49bf] > * Create APIs for executing tasks on real background threads in `PAUSED` looper mode. [d29bf898b] > * Add `get`/`setLockTaskPackages` support to `DevicePolicyManager` [b1ecc5a1b] > * Add implementation of - `ShadowSubscriptionManager#getAvailableSubscriptionInfoList` - `ShadowSubscriptionManager#setAvailableSubscriptionInfoList` - `ShadowSubscriptionManager#setAvailableSubscriptionInfos` - `SubscriptionInfoBuilder#setMnc` [95bac4a59] > * Modify `ShadowLocationManager` to respect `LOCATION_MODE`. [348d0d256] > * Make `ActivityController#recreate` aware of the current lifecycle state [7cc5b4240] > * Implement `ActivityManager#isBackgroundRestricted()` [4cbe3493a] > * `UiModeManager` [78a4eecc2] > * Set different values for each of `OsConstants` `errno` values [aeadc2919] > * Add ShadowIsoDep [2e9409338] > * Add `ShadowBluetoothGatt.connect()` [8cffa2914] > * Implement `SubscriptionManager.getPhoneId()` with a map between subscription IDs and phone IDs. [01ea6800f] > * Add torch setting capabilities to `ShadowCameraManager`. [f25ec775e] > * Add method to `ShadowContextWrapper` to expose the options of the most recently started activity [da1bace63] > * Add `setInMultiWindowMode()` to change multi window state for `ShadowActivity`. [9b2af0b0a] > ... (truncated)
Commits - [`429defe`](https://github.com/robolectric/robolectric/commit/429defe25ea6ff8a7b91a1f34bd372d472ba0fb1) Bump version to 4.3. - [`ceca1b8`](https://github.com/robolectric/robolectric/commit/ceca1b8a7df5c76401e83e50b7017997a8ca164c) Update to AndroidX Test 1.2.0 stable artifacts - [`4a6d9b1`](https://github.com/robolectric/robolectric/commit/4a6d9b124aa0f8af6b9a77615a0d1bcf06ce762f) Use real OverScroller in PAUSED LooperMode. (PR#5021) - [`f7bc353`](https://github.com/robolectric/robolectric/commit/f7bc353c58d6dfaf70be540fd1d30740378acd19) ShadowAlarmManager change, take 2. This time with a CopyOnWriteArrayList. - [`03531f2`](https://github.com/robolectric/robolectric/commit/03531f254dd2fd5e9c9ee229f59345e7b58e5b0e) Fix another 'NoSuchMethodError java.nio.ByteBuffer.position' issue in Java8. - [`4b49991`](https://github.com/robolectric/robolectric/commit/4b49991d825ad124c1c64e70171b305895ee85f0) Fix Scheduler return values in PAUSED LooperMode, and support Scheduler#size. - [`c88a256`](https://github.com/robolectric/robolectric/commit/c88a256e2196311507e1938be7da9403a66ba020) Bump version to 4.3-beta-1. - [`a4085a9`](https://github.com/robolectric/robolectric/commit/a4085a9aebe6d37ac8f484872f5be9fff7579cd1) Update to androidx test 1.2.0-beta01 - [`8018432`](https://github.com/robolectric/robolectric/commit/801843209909a60d8c02ff81f5ac9ad21077bb8f) Add ShadowDevicePolicyManager#isLockTaskPermitted(String). - [`e6994d9`](https://github.com/robolectric/robolectric/commit/e6994d9ea6602e1a7488e1afa6b2bafa65dabc3c) Internal - Additional commits viewable in [compare view](https://github.com/robolectric/robolectric/compare/robolectric-4.1...robolectric-4.3)


Dependabot compatibility score

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - 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) Finally, you can contact us by mentioning @dependabot.
codecov-io commented 5 years ago

Codecov Report

Merging #141 into RxJava2.x will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           RxJava2.x     #141   +/-   ##
==========================================
  Coverage      97.38%   97.38%           
==========================================
  Files              5        5           
  Lines            153      153           
  Branches          11       11           
==========================================
  Hits             149      149           
  Misses             3        3           
  Partials           1        1

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5186dd3...10bfab5. Read the comment docs.