文件最后提交记录最后更新时间
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[dependabot]: Bump the test-dependencies group across 2 directories with 1 update (#10581) Bumps the test-dependencies group with 1 update in the /packages/pigeon/platform_tests/test_plugin/android directory: [io.mockk:mockk](https://github.com/mockk/mockk). Bumps the test-dependencies group with 1 update in the /packages/shared_preferences/shared_preferences_android/android directory: [io.mockk:mockk](https://github.com/mockk/mockk). Updates io.mockk:mockk from 1.14.6 to 1.14.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mockk/mockk/releases">io.mockk:mockk's releases</a>.</em></p> <blockquote> <h2>v1.14.7</h2> <h2>What's Changed</h2> <ul> <li>fix: normalize value class arguments in EqMatcher for consistent comparison by <a href="https://github.com/edwardmp"><code>@​edwardmp</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1440">mockk/mockk#1440</a></li> <li>Add configurable logging to withArg &amp; withNullableArg by <a href="https://github.com/OsaSoft"><code>@​OsaSoft</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1441">mockk/mockk#1441</a></li> <li>docs(readme): document suppressing superclass calls by <a href="https://github.com/ch200203"><code>@​ch200203</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1444">mockk/mockk#1444</a></li> <li>Fix for issue <a href="https://redirect.github.com/mockk/mockk/issues/1103">#1103</a>. by <a href="https://github.com/sdetilly"><code>@​sdetilly</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1449">mockk/mockk#1449</a></li> <li>Fix configuration option example for restricted classes by <a href="https://github.com/TWiStErRob"><code>@​TWiStErRob</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1465">mockk/mockk#1465</a></li> <li>Fix InaccessibleObjectException when spying on JDK interfaces on JDK 16+ by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1457">mockk/mockk#1457</a></li> <li>Fix Java 11 compatibility: replace Random.nextLong(long, long) with Java 8 compatible alternative by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1456">mockk/mockk#1456</a></li> <li>Add optional restricted mock system property by <a href="https://github.com/nishatoma"><code>@​nishatoma</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1454">mockk/mockk#1454</a></li> <li>Fix StackOverflowError when mocking methods returning ArrayList by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1464">mockk/mockk#1464</a></li> <li>Change JUnit 4/5 dependencies from implementation to compileOnly by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1455">mockk/mockk#1455</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/edwardmp"><code>@​edwardmp</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1440">mockk/mockk#1440</a></li> <li><a href="https://github.com/OsaSoft"><code>@​OsaSoft</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1441">mockk/mockk#1441</a></li> <li><a href="https://github.com/sdetilly"><code>@​sdetilly</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1449">mockk/mockk#1449</a></li> <li><a href="https://github.com/Copilot"><code>@​Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1457">mockk/mockk#1457</a></li> <li><a href="https://github.com/nishatoma"><code>@​nishatoma</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1454">mockk/mockk#1454</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mockk/mockk/compare/1.14.6...1.14.7">https://github.com/mockk/mockk/compare/1.14.6...1.14.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mockk/mockk/commit/3b99349b693308aacf1a4031bbbd252506feb488"><code>3b99349</code></a> Version bump</li> <li><a href="https://github.com/mockk/mockk/commit/d0e14bb764eb2bc312d3f15d5df9801d801851d0"><code>d0e14bb</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1455">#1455</a> from mockk/copilot/remove-transitive-junit-dependency</li> <li><a href="https://github.com/mockk/mockk/commit/9372ca62b88d67c1719ce6d4f50953a984741df9"><code>9372ca6</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1464">#1464</a> from mockk/copilot/fix-stackoverflow-error-mockk</li> <li><a href="https://github.com/mockk/mockk/commit/73736a6ecd592eff99c49fae8d00dc2da7123358"><code>73736a6</code></a> Address code review feedback for parseParamTypes</li> <li><a href="https://github.com/mockk/mockk/commit/6866dd0c75f9e8a3acc5b4fd00f0e585c28387bf"><code>6866dd0</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1454">#1454</a> from nishatoma/add-strict-mocking-system-property</li> <li><a href="https://github.com/mockk/mockk/commit/ea99f8804bbb9b941b3854bc77502c13324828ea"><code>ea99f88</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1456">#1456</a> from mockk/copilot/fix-mockk-compatibility-issue</li> <li><a href="https://github.com/mockk/mockk/commit/b7b72de983a0da71e531d8c9b2b68f84743189b6"><code>b7b72de</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1457">#1457</a> from mockk/copilot/fix-inaccessibleobjectexception</li> <li><a href="https://github.com/mockk/mockk/commit/08d1d1d8e466466f46c448ef459cecdde5585e49"><code>08d1d1d</code></a> Address comments</li> <li><a href="https://github.com/mockk/mockk/commit/7681de2aaa26a6a73aa6a21fe57428ef80c87146"><code>7681de2</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1465">#1465</a> from TWiStErRob/patch-2</li> <li><a href="https://github.com/mockk/mockk/commit/54e61544105b549c4d29a44370ef8f604caaca0d"><code>54e6154</code></a> Fix configuration option example for restricted classes</li> <li>Additional commits viewable in <a href="https://github.com/mockk/mockk/compare/1.14.6...1.14.7">compare view</a></li> </ul> </details> <br /> Updates io.mockk:mockk from 1.14.6 to 1.14.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mockk/mockk/releases">io.mockk:mockk's releases</a>.</em></p> <blockquote> <h2>v1.14.7</h2> <h2>What's Changed</h2> <ul> <li>fix: normalize value class arguments in EqMatcher for consistent comparison by <a href="https://github.com/edwardmp"><code>@​edwardmp</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1440">mockk/mockk#1440</a></li> <li>Add configurable logging to withArg &amp; withNullableArg by <a href="https://github.com/OsaSoft"><code>@​OsaSoft</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1441">mockk/mockk#1441</a></li> <li>docs(readme): document suppressing superclass calls by <a href="https://github.com/ch200203"><code>@​ch200203</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1444">mockk/mockk#1444</a></li> <li>Fix for issue <a href="https://redirect.github.com/mockk/mockk/issues/1103">#1103</a>. by <a href="https://github.com/sdetilly"><code>@​sdetilly</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1449">mockk/mockk#1449</a></li> <li>Fix configuration option example for restricted classes by <a href="https://github.com/TWiStErRob"><code>@​TWiStErRob</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1465">mockk/mockk#1465</a></li> <li>Fix InaccessibleObjectException when spying on JDK interfaces on JDK 16+ by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1457">mockk/mockk#1457</a></li> <li>Fix Java 11 compatibility: replace Random.nextLong(long, long) with Java 8 compatible alternative by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1456">mockk/mockk#1456</a></li> <li>Add optional restricted mock system property by <a href="https://github.com/nishatoma"><code>@​nishatoma</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1454">mockk/mockk#1454</a></li> <li>Fix StackOverflowError when mocking methods returning ArrayList by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1464">mockk/mockk#1464</a></li> <li>Change JUnit 4/5 dependencies from implementation to compileOnly by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/mockk/mockk/pull/1455">mockk/mockk#1455</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/edwardmp"><code>@​edwardmp</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1440">mockk/mockk#1440</a></li> <li><a href="https://github.com/OsaSoft"><code>@​OsaSoft</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1441">mockk/mockk#1441</a></li> <li><a href="https://github.com/sdetilly"><code>@​sdetilly</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1449">mockk/mockk#1449</a></li> <li><a href="https://github.com/Copilot"><code>@​Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1457">mockk/mockk#1457</a></li> <li><a href="https://github.com/nishatoma"><code>@​nishatoma</code></a> made their first contribution in <a href="https://redirect.github.com/mockk/mockk/pull/1454">mockk/mockk#1454</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mockk/mockk/compare/1.14.6...1.14.7">https://github.com/mockk/mockk/compare/1.14.6...1.14.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mockk/mockk/commit/3b99349b693308aacf1a4031bbbd252506feb488"><code>3b99349</code></a> Version bump</li> <li><a href="https://github.com/mockk/mockk/commit/d0e14bb764eb2bc312d3f15d5df9801d801851d0"><code>d0e14bb</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1455">#1455</a> from mockk/copilot/remove-transitive-junit-dependency</li> <li><a href="https://github.com/mockk/mockk/commit/9372ca62b88d67c1719ce6d4f50953a984741df9"><code>9372ca6</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1464">#1464</a> from mockk/copilot/fix-stackoverflow-error-mockk</li> <li><a href="https://github.com/mockk/mockk/commit/73736a6ecd592eff99c49fae8d00dc2da7123358"><code>73736a6</code></a> Address code review feedback for parseParamTypes</li> <li><a href="https://github.com/mockk/mockk/commit/6866dd0c75f9e8a3acc5b4fd00f0e585c28387bf"><code>6866dd0</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1454">#1454</a> from nishatoma/add-strict-mocking-system-property</li> <li><a href="https://github.com/mockk/mockk/commit/ea99f8804bbb9b941b3854bc77502c13324828ea"><code>ea99f88</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1456">#1456</a> from mockk/copilot/fix-mockk-compatibility-issue</li> <li><a href="https://github.com/mockk/mockk/commit/b7b72de983a0da71e531d8c9b2b68f84743189b6"><code>b7b72de</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1457">#1457</a> from mockk/copilot/fix-inaccessibleobjectexception</li> <li><a href="https://github.com/mockk/mockk/commit/08d1d1d8e466466f46c448ef459cecdde5585e49"><code>08d1d1d</code></a> Address comments</li> <li><a href="https://github.com/mockk/mockk/commit/7681de2aaa26a6a73aa6a21fe57428ef80c87146"><code>7681de2</code></a> Merge pull request <a href="https://redirect.github.com/mockk/mockk/issues/1465">#1465</a> from TWiStErRob/patch-2</li> <li><a href="https://github.com/mockk/mockk/commit/54e61544105b549c4d29a44370ef8f604caaca0d"><code>54e6154</code></a> Fix configuration option example for restricted classes</li> <li>Additional commits viewable in <a href="https://github.com/mockk/mockk/compare/1.14.6...1.14.7">compare view</a></li> </ul> </details> <br /> 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. --- <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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency - @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency - @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions </details>5 个月前
[dependabot]: Bump the test-dependencies group across 15 directories with 7 updates (#9736) In addition to the robot changes below. I (@reidbaker) Also updated the kotin version to 2.2.0 (using flutter analyze --suggestions), removed jetifier usage from hardcoded to true to not set which defaults to false (this was done in url launcher at least a year ago), and modified FileUtilsTest in file_selector_android and FileUtilsTest in image_picker_android to not set mimeTypeMap for android s and above as roboletrics handles that for you. In shared_preferences_android kotlin warned that it was taking a private variable and making it package private in the jvm because an inner class was accessing sharedPreferencesDataStore so I changed the scope to the compile time scope. Bumps the test-dependencies group with 2 updates in the /packages/camera/camera_android/android directory: androidx.test:core and [org.robolectric:robolectric](https://github.com/robolectric/robolectric). Bumps the test-dependencies group with 3 updates in the /packages/camera/camera_android_camerax/android directory: androidx.test:core, [org.robolectric:robolectric](https://github.com/robolectric/robolectric) and [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 2 updates in the /packages/file_selector/file_selector_android/android directory: androidx.test:core and [org.robolectric:robolectric](https://github.com/robolectric/robolectric). Bumps the test-dependencies group with 1 update in the /packages/flutter_plugin_android_lifecycle/android directory: [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 4 updates in the /packages/google_maps_flutter/google_maps_flutter_android/android directory: androidx.test:core, [org.robolectric:robolectric](https://github.com/robolectric/robolectric), [org.mockito:mockito-core](https://github.com/mockito/mockito) and androidx.test:runner. Bumps the test-dependencies group with 3 updates in the /packages/image_picker/image_picker_android/android directory: androidx.test:core, [org.robolectric:robolectric](https://github.com/robolectric/robolectric) and [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 4 updates in the /packages/in_app_purchase/in_app_purchase_android/android directory: androidx.test:core, [org.robolectric:robolectric](https://github.com/robolectric/robolectric), [org.mockito:mockito-core](https://github.com/mockito/mockito) and androidx.test:runner. Bumps the test-dependencies group with 3 updates in the /packages/local_auth/local_auth_android/android directory: [org.robolectric:robolectric](https://github.com/robolectric/robolectric), androidx.test:runner and androidx.test:rules. Bumps the test-dependencies group with 1 update in the /packages/pigeon/platform_tests/alternate_language_test_plugin/android directory: [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 1 update in the /packages/pigeon/platform_tests/test_plugin/android directory: [io.mockk:mockk](https://github.com/mockk/mockk). Bumps the test-dependencies group with 1 update in the /packages/quick_actions/quick_actions_android/android directory: [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 3 updates in the /packages/shared_preferences/shared_preferences_android/android directory: [org.robolectric:robolectric](https://github.com/robolectric/robolectric), [io.mockk:mockk](https://github.com/mockk/mockk) and androidx.test:core-ktx. Bumps the test-dependencies group with 3 updates in the /packages/url_launcher/url_launcher_android/android directory: androidx.test:core, [org.robolectric:robolectric](https://github.com/robolectric/robolectric) and [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 2 updates in the /packages/video_player/video_player_android/android directory: androidx.test:core and [org.robolectric:robolectric](https://github.com/robolectric/robolectric). Bumps the test-dependencies group with 2 updates in the /packages/webview_flutter/webview_flutter_android/android directory: androidx.test:core and [org.mockito:mockito-core](https://github.com/mockito/mockito). Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates androidx.test:core from 1.6.1 to 1.7.0 Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolectric/robolectric/commit/d4e855ac127ea99436f833a8411e17e3716d3daa"><code>d4e855a</code></a> Fix Javadoc for <code>ShadowPausedLooper</code></li> <li><a href="https://github.com/robolectric/robolectric/commit/189e022347632789a8df28e934cd160b8ce6898f"><code>189e022</code></a> Add missing deprecations to some <code>Config.Builder</code> methods</li> <li><a href="https://github.com/robolectric/robolectric/commit/aa1735057dab45c93d82fa560c8f5ab698eca242"><code>aa17350</code></a> Revert &quot;Remove deprecated <code>Config#packageName()</code>&quot;</li> <li><a href="https://github.com/robolectric/robolectric/commit/49a8c19d98402255ee8cd1be102e74845751bf18"><code>49a8c19</code></a> Revert &quot;Remove deprecated <code>Config#resourceDir()</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.14.1...robolectric-4.15.1">compare view</a></li> </ul> </details> <br /> Updates org.robolectric:robolectric from 4.14.1 to 4.15.1 <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.15.1 is a minor release that fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/9595">robolectric/robolectric#9595</a>, where the onClick handler now being invoked in Compose on certain API levels. Thanks to <a href="https://github.com/GisoBartels"><code>@​GisoBartels</code></a> for the fix.</p> <p>It also fixes <a href="https://redirect.github.com/robolectric/robolectric/issues/10419">robolectric/robolectric#10419</a>, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to <a href="https://github.com/yschimke"><code>@​yschimke</code></a> for the report and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1">https://github.com/robolectric/robolectric/compare/robolectric-4.15...robolectric-4.15.1</a></p> <p>Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements. It also introduces the <a href="https://robolectric.org/simulator/">Robolectric Simulator</a>, which makes it possible to launch an interactive preview of Android UI in a Robolectric environment.</p> <p><strong>NOTE</strong> Robolectric 4.15 does <strong>NOT</strong> support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.</p> <p>If you encounter any issues, please file them on the GitHub issues page.</p> <p>A huge thanks to <a href="https://github.com/MGaetan89"><code>@​MGaetan89</code></a> and <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for all of their hard work that went into this release.</p> <h2>What's Changed</h2> <p>The following symbols have been removed in Robolectric 4.15.</p> <table> <thead> <tr> <th>Removed symbol</th> <th>Replacement</th> </tr> </thead> <tbody> <tr> <td><code>AndroidManifest#supportsLegacyResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>AndroidManifest#supportsBinaryResourcesMode()</code></td> <td>N/A</td> </tr> <tr> <td><code>ConfigMerger</code></td> <td><code>Provider&lt;Config&gt;</code></td> </tr> <tr> <td><code>DependencyResolver#getLocalArtifactUrls(DependencyJar)</code></td> <td><code>DependencyResolver#getLocalArtifactUrl(DependencyJar)</code></td> </tr> <tr> <td><code>Fs#fileFromPath(String path)</code></td> <td><code>Fs#fromUrl(path)</code></td> </tr> <tr> <td><code>Fs#newFile(File file)</code></td> <td><code>file.toPath()</code> </td> </tr> <tr> <td><code>FsFile#getPath()</code></td> <td><code>Fs#externalize(this)</code></td> </tr> <tr> <td><code>FsFile#join(String name)</code></td> <td><code>this.resolve(name)</code></td> </tr> <tr> <td><code>InvokeDynamicClassInstrumentor</code></td> <td><code>ClassInstrumentor</code></td> </tr> <tr> <td><code>ManifestIdentifier(Path, Path, Path, String, List&lt;Path&gt;)</code></td> <td><code>ManifestIdentifier(String, Path, Path, Path, List&lt;ManifestIdentifier&gt;)</code></td> </tr> <tr> <td><code>MavenManifestFactory</code></td> <td>N/A</td> </tr> <tr> <td><code>PackageItemData#getClassName()</code></td> <td><code>PackageItemData#getName()</code></td> </tr> <tr> <td><code>Provider&lt;T&gt;</code></td> <td><code>javax.inject.Provider&lt;T&gt;</code></td> </tr> <tr> <td><code>Qualifiers#addScreenWidth(String, int)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#addSmallestScreenWidth(String, int)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getOrientation(String)</code></td> <td><code>Configuration#orientation</code></td> </tr> <tr> <td><code>Qualifiers#getPlatformVersion(String)</code></td> <td><code>Build.VERSION#SDK_INT</code></td> </tr> <tr> <td><code>Qualifiers#getScreenWidth(String)</code></td> <td><code>Configuration#screenWidthDp</code></td> </tr> <tr> <td><code>Qualifiers#getSmallestScreenWidth(String)</code></td> <td><code>Configuration#smallestScreenWidthDp</code></td> </tr> <tr> <td><code>RoboSettings</code></td> <td>Set the specific system property directly</td> </tr> <tr> <td><code>Scheduler#idleConstantly(boolean)</code></td> <td><code>Scheduler#setIdleState(IdleState)</code></td> </tr> <tr> <td><code>SdkPicker</code></td> <td><code>DefaultSdkPicker</code></td> </tr> <tr> <td><code>ShadowApplication#addWakeLock(PowerManager.WakeLock wl)</code></td> <td><code>ShadowPowerManager.addWakeLock(wl)</code></td> </tr> <tr> <td><code>ShadowApplication#clearWakeLocks()</code></td> <td><code>ShadowPowerManager.clearWakeLocks()</code></td> </tr> <tr> <td><code>ShadowApplication#getAppWidgetManager()</code></td> <td><code>Context#getSystemService(Context.APPWIDGET_SERVICE)</code></td> </tr> <tr> <td><code>ShadowApplication#getBluetoothAdapter()</code></td> <td><code>BluetoothManager#getAdapter()</code></td> </tr> <tr> <td><code>ShadowApplication#getForegroundThreadScheduler()</code></td> <td><code>Robolectric.getForegroundThreadScheduler()</code></td> </tr> <tr> <td><code>ShadowApplication#getInstance()</code></td> <td><code>shadowOf(RuntimeEnvironment.getApplication())</code></td> </tr> <tr> <td><code>ShadowApplication#getLatestWakeLock()</code></td> <td><code>ShadowPowerManager.getLatestWakeLock()</code></td> </tr> <tr> <td><code>ShadowMap#convertToShadowName(String)</code></td> <td>N/A</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/robolectric/robolectric/commit/465e599cc24355a71bccb64e9792aae20348b13b"><code>465e599</code></a> Bump version to 4.15.1</li> <li><a href="https://github.com/robolectric/robolectric/commit/65b94a56c0ba263a45a6454b3af6fb819050f092"><code>65b94a5</code></a> Added implementation for Path.op</li> <li><a href="https://github.com/robolectric/robolectric/commit/b71ecbe1c6003027ff411de8d2fcc7102cb59631"><code>b71ecbe</code></a> Replace Stream#toList to Stream#collect(Collectors.toList())</li> <li><a href="https://github.com/robolectric/robolectric/commit/8f17828d85b3c9dbbe76106feec02c2270047489"><code>8f17828</code></a> Bump simulator-gradle-plugin version to 1.0.2</li> <li><a href="https://github.com/robolectric/robolectric/commit/c52d36e8b8f51b157d1149904bdaa4455814dfa5"><code>c52d36e</code></a> Bump version to 4.15.</li> <li><a href="https://github.com/robolectric/robolectric/commit/99c40df7936830c415c6d193fab0ec4196980196"><code>99c40df</code></a> Add more information to the generated POM file</li> <li><a href="https://github.com/robolect... _Description has been truncated_9 个月前
[Gradle 9] Fixed Gradle 9 Deprecations in Packages (#10016) Fixed all Gradle 9 deprecations in packages repo. Fixes https://github.com/flutter/flutter/issues/173320 Partially Adresses https://github.com/flutter/flutter/issues/173318 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.7 个月前
[shared_preferences] Federate mobile implementations (#4505) Fully federates the plugin by moving the existing mobile implementations to their own packages, per planned repo structure. Temporarily marks shared_preferences as unpublishable to allow the implementations to be moved, rather than copied and deleted, in order to better preserve git history. A follow-up PR will restore it to publishable form. Part of flutter/flutter#684984 年前