Skip to content

Bump robolectric from 3.0 to 4.3.1#18

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/org.robolectric-robolectric-4.3.1
Closed

Bump robolectric from 3.0 to 4.3.1#18
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/org.robolectric-robolectric-4.3.1

Conversation

@dependabot-preview
Copy link

Bumps robolectric from 3.0 to 4.3.1.

Release notes

Sourced from robolectric's releases.

Robolectric 4.3.1 adds support for Android API 29 (Q final).

Compatibility

  • Running tests on Android API 29 now strictly requires a Java9 runtime or newer. If you are seeing errors about unsupported Java version when running tests on API 29 via Android Studio; you can use the 'JRE' field in the Run Configuration dialog to configure a newer Java runtime. See https://developer.android.com/studio/run/rundebugconfig for more background.

Robolectric 4.3

This release introduces a new PAUSED Looper mode, 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 Looper mode.
  • Support clicking menu items via Espresso [issue #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]
  • Add an initial shadow for the LauncherApps System Service. [issue #4837]
  • Add ShadowUserManager.removeUser(UserHandle) [issue #4854]
  • Add IntentSenderRequest for startIntentSenderForResult methods. [issue #4870]
  • Shadow night display ColorDisplayManager methods
  • Add getPasswordComplexity support to ShadowDevicePolicyManager [issue #4878]
  • Add shadow implementation for ShadowDexFile.isDexOptNeeded. [issue #4886]
  • Shadow DisplayManagerGlobal#getStableDisplaySize [issue #4838]
  • Shadow ContextImpl.startActivityAsUser [issue #4899]
  • Shadow implementation of android.hardware.HardwareBuffer [issue #4895]
  • Add shadow for ShadowAppOpsManager#noteProxyOpNoThrow. [issue #4906]
  • Add support for new Android Q fields to EventBuilder [issue #4905]
  • Add support for UsageStatsManager#getUsageSource() [issue #4920]
  • Support stopForeground(int) in ShadowService. [issue #4919]
  • Support ShadowSensor#getMaximumRange [issue #4881]
  • Add support for passing resultCode through to broadcasts intents [issue #4917]
  • Fix activities leaking between test cases [issue #4930]
  • Fall back to Android's implementation of PackageManager.getPackageArchiveInfo [issue #4928]
  • Add ShadowPausedAsyncTask#overrideExecutor API to replace waitForIdle. [issue #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]
... (truncated)
Commits
  • f2df0ef Bump version to 4.3.1.
  • 941717b Add support for Q preview 4
  • 19aeff9 Support Android Q/API 29 final.
  • 429defe Bump version to 4.3.
  • ceca1b8 Update to AndroidX Test 1.2.0 stable artifacts
  • 4a6d9b1 Use real OverScroller in PAUSED LooperMode. (PR#5021)
  • f7bc353 ShadowAlarmManager change, take 2. This time with a CopyOnWriteArrayList.
  • 03531f2 Fix another 'NoSuchMethodError java.nio.ByteBuffer.position' issue in Java8.
  • 4b49991 Fix Scheduler return values in PAUSED LooperMode, and support Scheduler#size.
  • c88a256 Bump version to 4.3-beta-1.
  • Additional commits viewable in compare view

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.


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](https://github.com/robolectric/robolectric) from 3.0 to 4.3.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-3.0...robolectric-4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 15, 2019
@dependabot-preview
Copy link
Author

Superseded by #39.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/org.robolectric-robolectric-4.3.1 branch August 24, 2020 13:13
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