Bump robolectric from 4.5.1 to 4.8 (#3679)

Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.5.1 to 4.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.8 adds support for Android S V2 (API level 32). It also contains many bug fixes and API enhancements.</p>
<h2>What's Changed</h2>
<ul>
<li>Turn off Gradle's fs watching during tests by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6849">robolectric/robolectric#6849</a></li>
<li>Remove unused resources.arsc file by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6855">robolectric/robolectric#6855</a></li>
<li>Fix name for macOS tasks to rename and upload binary files by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6856">robolectric/robolectric#6856</a></li>
<li>Shadow Build.VERSION#MEDIA_PERFORMANCE_CLASS in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6836">robolectric/robolectric#6836</a></li>
<li>Support overriding Icon loading executor from Icon#loadDrawableAsync. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6828">robolectric/robolectric#6828</a></li>
<li>Update Android code search link to the public version in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6850">robolectric/robolectric#6850</a></li>
<li>Remove unnecessary TimePickerDialog constructor shadow in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6838">robolectric/robolectric#6838</a></li>
<li>Remove inaccessible Google issue tracker links in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6854">robolectric/robolectric#6854</a></li>
<li>Use Activity's member Instrumentation in ActivityController in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6860">robolectric/robolectric#6860</a></li>
<li>Fix UnsupportedOperationException if a leaked Activity.recreate is called in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6862">robolectric/robolectric#6862</a></li>
<li>Add ActivityController.close that transitions Activity to destroyed state in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6864">robolectric/robolectric#6864</a></li>
<li>Fix SDK version check for onPageFinished() call. It should be available for all SDK versions instead. See <a href="https://developer.android.com/reference/android/webkit/WebViewClient#onPageFinished(android.webkit.WebView,%20java.lang.String)">https://developer.android.com/reference/android/webkit/WebViewClient#onPageFinished(android.webkit.WebView,%20java.lang.String)</a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6865">robolectric/robolectric#6865</a></li>
<li>Limit instrumentation on interfaces in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6866">robolectric/robolectric#6866</a></li>
<li>Bump to version 3 of preinstrumented jars by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6867">robolectric/robolectric#6867</a></li>
<li>Migrate ShadowAccessibilityNodeInfo to reflector in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6868">robolectric/robolectric#6868</a></li>
<li>Add perf stat for applying styles in binary resources in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6869">robolectric/robolectric#6869</a></li>
<li>Refine methods: getYear(), getMonthOfYear(), getDayOfMonth() and getOnDateSetListenerCallback(). in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6841">robolectric/robolectric#6841</a></li>
<li>Add onConnectionEvent() to ShadowInCallService. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6870">robolectric/robolectric#6870</a></li>
<li>Fix theme native object collection in Android S in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6873">robolectric/robolectric#6873</a></li>
<li>Use a self-hosted Mac M1 runner for the build_nativeruntime task by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6871">robolectric/robolectric#6871</a></li>
<li>Use 'processResources' task instead of 'jar' task for nativeruntime by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6874">robolectric/robolectric#6874</a></li>
<li>Remove unused Exception from test methods for dependency-on-stubs by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6876">robolectric/robolectric#6876</a></li>
<li>Add solution log for unhandled PNG file by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6829">robolectric/robolectric#6829</a></li>
<li>Remove instrumentedPackages workaround by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6875">robolectric/robolectric#6875</a></li>
<li>Remove unused org.robolectric.annotation.Config imports by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6879">robolectric/robolectric#6879</a></li>
<li>Only using AttributionSource for compile sdk 31 and above by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6884">robolectric/robolectric#6884</a></li>
<li>Clear InputMethodManager.sInstance for SDK &gt; P in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6880">robolectric/robolectric#6880</a></li>
<li>Adding VcnManagementService to ShadowSystemServices for VCN-related tests. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6881">robolectric/robolectric#6881</a></li>
<li>Check Window flags when selecting root view in LocalUiController. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/6741">#6741</a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6745">robolectric/robolectric#6745</a></li>
<li>Cleanup of AndroidManifest Activity references. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6878">robolectric/robolectric#6878</a></li>
<li>Fix broken GitHub CI when running tests by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6893">robolectric/robolectric#6893</a></li>
<li>Fix some lint errors in Target29CompatibilityTest by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6891">robolectric/robolectric#6891</a></li>
<li>Avoid re-running ICU ./configure if Makefile exists by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6889">robolectric/robolectric#6889</a></li>
<li>Remove redundant SKIP_ICU_BUILD environment variable by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6890">robolectric/robolectric#6890</a></li>
<li>Remove unnecessary DatePickerDialog constructor shadow in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6897">robolectric/robolectric#6897</a></li>
<li>Add matrix computation support to ShadowRenderNode implementations in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6775">robolectric/robolectric#6775</a></li>
<li>Add support for building Robolectric's nativeruntime with gcc/g++ in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6900">robolectric/robolectric#6900</a></li>
<li>Switch to Ninja for building the native runtime in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6904">robolectric/robolectric#6904</a></li>
<li>Close android.database.Cursor objects in tests in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6905">robolectric/robolectric#6905</a></li>
<li>Fix remaining CloseGuard warnings in Robolectric tests in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6906">robolectric/robolectric#6906</a></li>
<li>
<ol>
<li>Adds <code>ShadowVibrator#addSupportedPrimitives</code> to enable in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6907">robolectric/robolectric#6907</a></li>
</ol>
</li>
<li>Use real Android code for ContentProviderClient.release in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6908">robolectric/robolectric#6908</a></li>
<li>Update platformStrError to work in Windows in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6910">robolectric/robolectric#6910</a></li>
<li>Add setIsUniqueDeviceAttestationSupported and isUniqueDeviceAttestationSupported support to ShadowDevicePolicyManager in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6909">robolectric/robolectric#6909</a></li>
<li>Add custom JNI_INCLUDE_DIRS for Windows only by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6914">robolectric/robolectric#6914</a></li>
<li>Use runner.arch when calculating ICU cache keys by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6894">robolectric/robolectric#6894</a></li>
<li>Add test ShadowPackageManagerTest#packageInstallerAndGetPackageInfo by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6898">robolectric/robolectric#6898</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fd36481e8a"><code>fd36481</code></a> Bump version to 4.8.</li>
<li><a href="c27e767826"><code>c27e767</code></a> Merge branch 'google' into 'master'</li>
<li><a href="18b8fc2b15"><code>18b8fc2</code></a> Fixes <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7266">#7266</a> touch event disallow propagation.</li>
<li><a href="3a000a62bc"><code>3a000a6</code></a> Implement methods: ShadowBluetoothA2dp#getDynamicBufferSupport</li>
<li><a href="20bbb6998e"><code>20bbb69</code></a> Make ShadowPendingIntent implement is___ methods of PendingIntent</li>
<li><a href="fec23a57fc"><code>fec23a5</code></a> Fix a race condition causing a thread leak in BackdropFrameRenderer</li>
<li><a href="859eec94c6"><code>859eec9</code></a> Implement a shadow for Context.bindService(Intent, int, Executor, ServiceConn...</li>
<li><a href="569058402a"><code>5690584</code></a> No critical exposure</li>
<li><a href="905a8adb92"><code>905a8ad</code></a> ShadowBitmap#asShared should return an immutable Bitmap instance</li>
<li><a href="4f04e894f7"><code>4f04e89</code></a> Suppress a benign error log.</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.5.1...robolectric-4.8">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.robolectric:robolectric&package-manager=gradle&previous-version=4.5.1&new-version=4.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3679

Reviewed By: lblasa

Differential Revision: D36127817

Pulled By: passy

fbshipit-source-id: 08f872239d4e11da78a7fd57d1e1c6832bc1f16a
This commit is contained in:
dependabot[bot]
2022-05-04 04:55:29 -07:00
committed by Facebook GitHub Bot
parent ddc869ce5e
commit 71503308f0

View File

@@ -92,7 +92,7 @@ ext.deps = [
lithoTesting : "com.facebook.litho:litho-testing:$LITHO_VERSION", lithoTesting : "com.facebook.litho:litho-testing:$LITHO_VERSION",
// Debugging and testing // Debugging and testing
guava : 'com.google.guava:guava:23.0', guava : 'com.google.guava:guava:23.0',
robolectric : 'org.robolectric:robolectric:4.5.1', robolectric : 'org.robolectric:robolectric:4.8',
junit : 'junit:junit:4.13.2', junit : 'junit:junit:4.13.2',
hamcrest : 'org.hamcrest:hamcrest-library:2.2', hamcrest : 'org.hamcrest:hamcrest-library:2.2',
mockito : 'org.mockito:mockito-core:4.4.0', mockito : 'org.mockito:mockito-core:4.4.0',