Bump org.robolectric:robolectric from 4.9.2 to 4.10 (#4687)
Summary: Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.9.2 to 4.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">org.robolectric:robolectric's releases</a>.</em></p> <blockquote> <p>Robolectric 4.10 adds support for native Android graphics. It is currently disabled by default and can be enabled using <code>GraphicsMode(NATIVE)</code>. When native graphics is enabled, interactions with Android graphics classes use real native Android graphics code and are much higher fidelity.</p> <h2>Behavior changes</h2> <p>In Robolectric 4.10, <code>ReflectionHelpers.setStaticField</code> no longer removes the <code>final</code> keyword from static fields. This is because removing <code>final</code> using reflection stops working in JDK 18 due to <a href="https://openjdk.java.net/jeps/416">https://openjdk.java.net/jeps/416</a>. To remove <code>final</code> from static fields, consider using some instrumentation-based approach, such as mockito-inline.</p> <h2>What's Changed</h2> <ul> <li>Remove dead code that uses Plan based instrumentation (ClassHandler.Plan) <a href="https://redirect.github.com/robolectric/robolectric/pull/7610">robolectric/robolectric#7610</a></li> <li>Run SDK 33 tests on CI by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7613">robolectric/robolectric#7613</a></li> <li>Bump maximum API for GMD to SDK 33 by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7614">robolectric/robolectric#7614</a></li> <li>Remove use-sdk from androidx_test/sharedTest/AndroidManifest.xml by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7615">robolectric/robolectric#7615</a></li> <li>[Warning] Eliminated AnnotateFormatMethod warnings by <a href="https://github.com/hellosagar"><code>@hellosagar</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7353">robolectric/robolectric#7353</a></li> <li>Remove 0x prefix for string format log by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7617">robolectric/robolectric#7617</a></li> <li>Bump compile/targetSdk to 33 by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7616">robolectric/robolectric#7616</a></li> <li>Remove unused Exception for ShadowActivityTest by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7618">robolectric/robolectric#7618</a></li> <li>Support Activity setShowWhenLocked() and setTurnScreenOn() by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7438">robolectric/robolectric#7438</a></li> <li>Exclude kotlin-stdlib dependency from utils generated .pom by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7607">robolectric/robolectric#7607</a></li> <li>Move dependencies of shadows/framework to gradle.properties by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7627">robolectric/robolectric#7627</a></li> <li>Bump ASM to 9.3 by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7626">robolectric/robolectric#7626</a></li> <li>Add the ability to deploy specific preinstrumented jars to maven by <a href="https://github.com/hoisie"><code>@hoisie</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7602">robolectric/robolectric#7602</a></li> <li>Combine exceptions for ReflectionHelpers#getDeclaredField by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7634">robolectric/robolectric#7634</a></li> <li>Clean up ShadowAccountManager by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7636">robolectric/robolectric#7636</a></li> <li>Migrate Gradle dependencies to dependencies.gradle by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7635">robolectric/robolectric#7635</a></li> <li>Add alternative to Unsafe.defineAnonymousClass by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7633">robolectric/robolectric#7633</a></li> <li>Support all authentication results for BiometricManager by <a href="https://github.com/charlesng"><code>@charlesng</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7427">robolectric/robolectric#7427</a></li> <li>Bump bcprov-jdk15on from 1.68 to 1.70 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7638">robolectric/robolectric#7638</a></li> <li>Bump constraintlayout from 2.1.3 to 2.1.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7640">robolectric/robolectric#7640</a></li> <li>Reuse bytecode of ClassWriter for ProxyMaker by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7643">robolectric/robolectric#7643</a></li> <li>Migrate instance calling in ReflectionHelpers to lambda by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7644">robolectric/robolectric#7644</a></li> <li>Bump compile-testing from 0.18 to 0.19 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7645">robolectric/robolectric#7645</a></li> <li>Bump apiCompatVersion from 4.7 to 4.8.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7647">robolectric/robolectric#7647</a></li> <li>Bump gson from 2.8.6 to 2.9.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7646">robolectric/robolectric#7646</a></li> <li>Bump core from 1.5.0 to 1.9.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7649">robolectric/robolectric#7649</a></li> <li>Clean up unused code for ShadowDisplayManagerTest by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7662">robolectric/robolectric#7662</a></li> <li>Remove unused shadows ShadowCornerPathEffect and ShadowLinearGradient <a href="https://redirect.github.com/robolectric/robolectric/pull/7668">robolectric/robolectric#7668</a></li> <li>Bump apiCompatVersion from 4.8.2 to 4.9 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7672">robolectric/robolectric#7672</a></li> <li>Add call to $$robo$init for Jacoco-instrumented constructors <a href="https://redirect.github.com/robolectric/robolectric/pull/7677">robolectric/robolectric#7677</a></li> <li>Respect ShadowProvider priority when populating the ShadowPicker map <a href="https://redirect.github.com/robolectric/robolectric/pull/7686">robolectric/robolectric#7686</a></li> <li>Properly parse & populate process information from the manifest. ServiceInfo.processName and ActivityInfo.processName will now correctly reflect the value of the process attribute from their respective manifest entry. <a href="https://redirect.github.com/robolectric/robolectric/pull/7690">robolectric/robolectric#7690</a></li> <li>Bump autoServiceVersion from 1.0-rc6 to 1.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7674">robolectric/robolectric#7674</a></li> <li>Create an activity context for activities. <a href="https://redirect.github.com/robolectric/robolectric/pull/6481">robolectric/robolectric#6481</a></li> <li>Remove deprecated Utils#intArrayToList by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7687">robolectric/robolectric#7687</a></li> <li>Fix configuration/resource handling in activity contexts <a href="https://redirect.github.com/robolectric/robolectric/pull/7692">robolectric/robolectric#7692</a></li> <li>Add Java source & target compatibility config for preinstrumented by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7664">robolectric/robolectric#7664</a></li> <li>Update the <code>ResourcesManager</code> configuration when applying qualifiers <a href="https://redirect.github.com/robolectric/robolectric/pull/7697">robolectric/robolectric#7697</a></li> <li>Replace Config with Implementation <a href="https://redirect.github.com/robolectric/robolectric/pull/7710">robolectric/robolectric#7710</a></li> <li>Switch to ubuntu-20.04 for GitHub Actions by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7716">robolectric/robolectric#7716</a></li> <li>Bump errorproneVersion from 2.9.0 to 2.16 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7715">robolectric/robolectric#7715</a></li> <li>Bump Kotlin to 1.7.10 by <a href="https://github.com/utzcoz"><code>@utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7497">robolectric/robolectric#7497</a></li> <li>Upgrade androidx.test and androidx.fragment versions to latest. by <a href="https://github.com/brettchabot"><code>@brettchabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7683">robolectric/robolectric#7683</a></li> <li>Bump kotlinVersion from 1.5.20 to 1.7.20 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7694">robolectric/robolectric#7694</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="245c8f6405"><code>245c8f6</code></a> Bump version to 4.10.</li> <li><a href="732290ae0a"><code>732290a</code></a> Merge branch 'google' into 'master'</li> <li><a href="301c15872c"><code>301c158</code></a> Fix doc typo for ShadowWebview</li> <li><a href="f8cfc865ab"><code>f8cfc86</code></a> Remove executable flag for some Java files</li> <li><a href="d2340ee846"><code>d2340ee</code></a> Support partial AppComponentFactory in Robolectric</li> <li><a href="1d3cdabd68"><code>1d3cdab</code></a> Adjust to future platform changes.</li> <li><a href="877eb6af09"><code>877eb6a</code></a> Migrate task definations to task.register</li> <li><a href="45cb893459"><code>45cb893</code></a> Add basic implementation for LocationManager.requestFlush().</li> <li><a href="40c16eaac4"><code>40c16ea</code></a> Remove unnecessary logic to transform broadcast receiver class names</li> <li><a href="adb2d07ea0"><code>adb2d07</code></a> Fix AssetManagerTest on android U</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9.2...robolectric-4.10">compare view</a></li> </ul> </details> <br /> [](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/4687 Reviewed By: lblasa Differential Revision: D45350804 Pulled By: passy fbshipit-source-id: c3de6d41ec56a52ca76964f0744388d4b84c346d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bbfaae3c09
commit
e909f8c8e7
@@ -97,7 +97,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.9.2',
|
robolectric : 'org.robolectric:robolectric:4.10',
|
||||||
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:5.2.0',
|
mockito : 'org.mockito:mockito-core:5.2.0',
|
||||||
|
|||||||
Reference in New Issue
Block a user