Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Bump robolectric from 4.8.1 to 4.9 (#4169)
Browse files Browse the repository at this point in the history
Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.8.1 to 4.9.
<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.9 adds support for Android T (API level 33).</p>
<p>This release removes shadows supportv4 module fully.</p>
<p>It also installs the Conscrypt as the primary Security provider. See <a href="http://robolectric.org/blog/2022/09/06/Umesh-GSoC-on-ConscryptMode/">http://robolectric.org/blog/2022/09/06/Umesh-GSoC-on-ConscryptMode/</a> for details.</p>
<p>4.9 also turns on NATIVE sqlite mode by default for Mac and Linux. Windows will continue to use the LEGACY SQLite mode.</p>
<h2>What's Changed</h2>
<ul>
<li>Enable integration_tests:sparsearray tests by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7006">robolectric/robolectric#7006</a></li>
<li>Enable CI when PRs are made to the 'google' branch by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7164">robolectric/robolectric#7164</a></li>
<li>Add triggerOnReadyForSpeech() to ShadowSpeechRecognizer. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7163">robolectric/robolectric#7163</a></li>
<li>Bump gradle-versions-plugin to 0.42.0 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6970">robolectric/robolectric#6970</a></li>
<li>Clean up tests.yml by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7161">robolectric/robolectric#7161</a></li>
<li>Block <code>UiController#loopMainThreadUntilIdle</code> on registered idling resources being idle. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7148">robolectric/robolectric#7148</a></li>
<li>Return non-zero pointer from <code>nCreateTextureLayer</code> <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7166">robolectric/robolectric#7166</a></li>
<li>Correctly register all idling resources <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7167">robolectric/robolectric#7167</a></li>
<li>Update README.md to declare Robolectric supports SDK 32 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7169">robolectric/robolectric#7169</a></li>
<li>Indicate windows are visible by default (flag enabled) <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7179">robolectric/robolectric#7179</a></li>
<li>Add documentation to run tests on Emulator by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7162">robolectric/robolectric#7162</a></li>
<li>Restore accidentally deleted link to building Robolectric <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7183">robolectric/robolectric#7183</a></li>
<li>Ensure getNetworkCountryIso &amp; getSimCountryIso return lowercase only, to match the actual APIs. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7184">robolectric/robolectric#7184</a></li>
<li>Update RoboLocationRequest equals() and toString(). <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7186">robolectric/robolectric#7186</a></li>
<li>Centralize the Injector logic to load the native runtime <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7198">robolectric/robolectric#7198</a></li>
<li>Fixed PFD testGetFd_canRead test failed on macOS. by <a href="https://github.com/ZSmallX"><code>@​ZSmallX</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7202">robolectric/robolectric#7202</a></li>
<li>Optimize CI a bit by <a href="https://github.com/Goooler"><code>@​Goooler</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7195">robolectric/robolectric#7195</a></li>
<li>Clean up ctesque by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7145">robolectric/robolectric#7145</a></li>
<li>Clean up ShadowDefaultRequestDirectorTest.java by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7208">robolectric/robolectric#7208</a></li>
<li>Bump Gradle to 7.4.2 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7207">robolectric/robolectric#7207</a></li>
<li>Remove unused Exception from example in README.md by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7206">robolectric/robolectric#7206</a></li>
<li>Error prone and google format fix annotation module by <a href="https://github.com/hellosagar"><code>@​hellosagar</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7154">robolectric/robolectric#7154</a></li>
<li>Update CI to use JDK 11.0.14 by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7213">robolectric/robolectric#7213</a></li>
<li>Support Canvas#drawRect with RectF by <a href="https://github.com/Akshay2131"><code>@​Akshay2131</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7210">robolectric/robolectric#7210</a></li>
<li>Remove maxSdk restrition for ShadowBiometricManager#canAuthenticate implementation by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7211">robolectric/robolectric#7211</a></li>
<li>Switch to run tests on Emulator with SDK 29,32 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7170">robolectric/robolectric#7170</a></li>
<li>Support JDK 1.8 in ShadowWrangler invokespecial logic <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7219">robolectric/robolectric#7219</a></li>
<li>build: bump errorprone plugin version from 1.3.0 to 2.0.2 by <a href="https://github.com/hellosagar"><code>@​hellosagar</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7218">robolectric/robolectric#7218</a></li>
<li>Bring integration_tests to API 32 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7217">robolectric/robolectric#7217</a></li>
<li>Add method expectLogMessagePatternWithThrowableMatcher to ExpectedLogMessagesRule so that users can check for a Throwable, as well as a log message pattern. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7221">robolectric/robolectric#7221</a></li>
<li>Add javadoc for DefaultShadowPicker by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7222">robolectric/robolectric#7222</a></li>
<li>Add SdkSuppress to some tests in ThemeTest and MotionEventTest by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7227">robolectric/robolectric#7227</a></li>
<li>Removed <code>targetSdk</code> from AndroidManifest.xml by <a href="https://github.com/Umesh-01"><code>@​Umesh-01</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7232">robolectric/robolectric#7232</a></li>
<li>Add getCurrentSyncs() in ShadowContentResolver by <a href="https://github.com/Akshay2131"><code>@​Akshay2131</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7225">robolectric/robolectric#7225</a></li>
<li>Make deep copy of mPointerProperties for NativeInput#copyFrom by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7251">robolectric/robolectric#7251</a></li>
<li>Remove empty ShadowTextPaint by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7250">robolectric/robolectric#7250</a></li>
<li>Migrate compileSdkVersion to compileSdk by <a href="https://github.com/Akshay2131"><code>@​Akshay2131</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7253">robolectric/robolectric#7253</a></li>
<li>Ensure ShadowActivity can work with project targetSdk less than S by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7254">robolectric/robolectric#7254</a></li>
<li>Deprecate is___Intent methods of ShadowPendingIntent <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7276">robolectric/robolectric#7276</a></li>
<li>Invoke the real View.draw(Canvas) from ShadowView.draw(Canvas) <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7279">robolectric/robolectric#7279</a></li>
<li>Add looper mode assertions to <code>ShadowChoreographer</code> methods <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/7278">robolectric/robolectric#7278</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/robolectric/robolectric/commit/6d24315af1d54c210865dc7643969a331a9e5ee8"><code>6d24315</code></a> Bump version to 4.9.</li>
<li><a href="https://github.com/robolectric/robolectric/commit/4091c1ce382ad1a829f485045908d9f367e9e55d"><code>4091c1c</code></a> Merge branch 'google' into 'master'</li>
<li><a href="https://github.com/robolectric/robolectric/commit/13e8976c4ddf01a5fcc9616bbce63c273002036d"><code>13e8976</code></a> Remove unnecessary ColorMatrixColorFilter shadow</li>
<li><a href="https://github.com/robolectric/robolectric/commit/2cfaf902bd7ad7c729d498a986131a7713689986"><code>2cfaf90</code></a> Update ShadowTelephonyManager with Tiramisu getServiceState function</li>
<li><a href="https://github.com/robolectric/robolectric/commit/34cffc9a9c57d280c7adf6dbb6269ec44161ae9f"><code>34cffc9</code></a> Remove empty ShadowBitmapShader</li>
<li><a href="https://github.com/robolectric/robolectric/commit/32f97fcad8081fa91c328c5fc7be17647bd2e11a"><code>32f97fc</code></a> Fix several edge cases in constructor instrumentation</li>
<li><a href="https://github.com/robolectric/robolectric/commit/f53a74b12a50f5204dc9638abaeb0de65752754f"><code>f53a74b</code></a> Block explicit intents if they don't match intent filters on T+.</li>
<li><a href="https://github.com/robolectric/robolectric/commit/49e67dddf254314f9eea69dbd19a1ec316050f29"><code>49e67dd</code></a> Initialize configuration before calling application lifecycle plugins</li>
<li><a href="https://github.com/robolectric/robolectric/commit/26ed520b1a038926cad656564e771e21b6cb417e"><code>26ed520</code></a> Create check to see if constructor can be instrumented</li>
<li><a href="https://github.com/robolectric/robolectric/commit/cc0a05f7170652b650221efe97ca6e60a85908fd"><code>cc0a05f</code></a> Clean up some API methods on ShadowBitmap</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.8.1...robolectric-4.9">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.8.1&new-version=4.9)](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: #4169

Reviewed By: antonk52

Differential Revision: D40022316

Pulled By: antonk52

fbshipit-source-id: f5fca51837b9d1f013ad208b0482616b0e048539
  • Loading branch information
dependabot[bot] authored and facebook-github-bot committed Oct 5, 2022
1 parent 9706f28 commit e02d2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ext.deps = [
lithoTesting : "com.facebook.litho:litho-testing:$LITHO_VERSION",
// Debugging and testing
guava : 'com.google.guava:guava:23.0',
robolectric : 'org.robolectric:robolectric:4.8.1',
robolectric : 'org.robolectric:robolectric:4.9',
junit : 'junit:junit:4.13.2',
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
mockito : 'org.mockito:mockito-core:4.7.0',
Expand Down

0 comments on commit e02d2fc

Please sign in to comment.