From a3c5410f8deb67bc5dfba6783a1646e28b30dc54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:19:19 +0000 Subject: [PATCH 1/2] [dependabot]: Bump the test-dependencies group across 16 directories with 7 updates Bumps the test-dependencies group with 3 updates in the /packages/camera/camera_android/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito), 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: [org.mockito:mockito-inline](https://github.com/mockito/mockito), androidx.test:core and [org.robolectric:robolectric](https://github.com/robolectric/robolectric). Bumps the test-dependencies group with 3 updates in the /packages/file_selector/file_selector_android/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito), 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 5 updates in the /packages/google_maps_flutter/google_maps_flutter_android/android directory: | Package | From | To | | --- | --- | --- | | androidx.test:core | `1.4.0` | `1.6.1` | | [org.robolectric:robolectric](https://github.com/robolectric/robolectric) | `4.10.3` | `4.14.1` | | androidx.test:runner | `1.2.0` | `1.6.2` | | androidx.test:rules | `1.4.0` | `1.6.1` | | [org.mockito:mockito-core](https://github.com/mockito/mockito) | `5.1.1` | `5.15.2` | Bumps the test-dependencies group with 1 update in the /packages/google_sign_in/google_sign_in_android/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito). 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), androidx.test:runner and [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 2 updates in the /packages/interactive_media_ads/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito) and androidx.test:core. Bumps the test-dependencies group with 4 updates in the /packages/local_auth/local_auth_android/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito), [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/quick_actions/quick_actions_android/android directory: [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the test-dependencies group with 2 updates in the /packages/shared_preferences/shared_preferences_android/android directory: [org.robolectric:robolectric](https://github.com/robolectric/robolectric) 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 3 updates in the /packages/video_player/video_player_android/android directory: [org.mockito:mockito-inline](https://github.com/mockito/mockito), 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: [org.mockito:mockito-inline](https://github.com/mockito/mockito) and androidx.test:core. Updates `org.mockito:mockito-inline` from 5.0.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-inline` from 5.0.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-inline` from 5.1.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.12.1 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-core` from 5.1.1 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `androidx.test:runner` from 1.2.0 to 1.6.2 Updates `androidx.test:rules` from 1.4.0 to 1.6.1 Updates `org.mockito:mockito-core` from 5.1.1 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `org.mockito:mockito-inline` from 5.0.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-core` from 5.1.1 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `androidx.test:core` from 1.5.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `androidx.test:runner` from 1.5.2 to 1.6.2 Updates `org.mockito:mockito-core` from 5.4.0 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `org.mockito:mockito-inline` from 5.1.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.mockito:mockito-inline` from 5.0.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `androidx.test:runner` from 1.2.0 to 1.6.2 Updates `androidx.test:rules` from 1.2.0 to 1.6.1 Updates `org.mockito:mockito-core` from 5.1.1 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `org.mockito:mockito-core` from 5.0.0 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `org.robolectric:robolectric` from 4.12.1 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `androidx.test:core-ktx` from 1.5.0 to 1.6.1 Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-core` from 5.1.1 to 5.15.2 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.15.2) Updates `org.mockito:mockito-inline` from 5.0.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 Updates `org.robolectric:robolectric` from 4.10.3 to 4.14.1 - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.3...robolectric-4.14.1) Updates `org.mockito:mockito-inline` from 5.1.0 to 5.2.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.2.0) Updates `androidx.test:core` from 1.4.0 to 1.6.1 --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:runner dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:rules dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:runner dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:runner dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:rules dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core-ktx dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies - dependency-name: androidx.test:core dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies ... Signed-off-by: dependabot[bot] --- packages/camera/camera_android/android/build.gradle | 6 +++--- .../camera/camera_android_camerax/android/build.gradle | 6 +++--- .../file_selector_android/android/build.gradle | 6 +++--- .../android/build.gradle | 2 +- .../google_maps_flutter_android/android/build.gradle | 10 +++++----- .../google_sign_in_android/android/build.gradle | 2 +- .../image_picker_android/android/build.gradle | 6 +++--- .../in_app_purchase_android/android/build.gradle | 8 ++++---- packages/interactive_media_ads/android/build.gradle | 4 ++-- .../local_auth/local_auth_android/android/build.gradle | 8 ++++---- .../android/build.gradle | 2 +- .../quick_actions_android/android/build.gradle | 2 +- .../shared_preferences_android/android/build.gradle | 4 ++-- .../url_launcher_android/android/build.gradle | 6 +++--- .../video_player_android/android/build.gradle | 6 +++--- .../webview_flutter_android/android/build.gradle | 4 ++-- 16 files changed, 41 insertions(+), 41 deletions(-) diff --git a/packages/camera/camera_android/android/build.gradle b/packages/camera/camera_android/android/build.gradle index 8cacbadf478b..89cacd2dfff8 100644 --- a/packages/camera/camera_android/android/build.gradle +++ b/packages/camera/camera_android/android/build.gradle @@ -68,7 +68,7 @@ buildFeatures { dependencies { implementation 'androidx.annotation:annotation:1.9.1' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.0.0' - testImplementation 'androidx.test:core:1.4.0' - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'androidx.test:core:1.6.1' + testImplementation 'org.robolectric:robolectric:4.14.1' } diff --git a/packages/camera/camera_android_camerax/android/build.gradle b/packages/camera/camera_android_camerax/android/build.gradle index a3f20e236a3d..49f465ee240b 100644 --- a/packages/camera/camera_android_camerax/android/build.gradle +++ b/packages/camera/camera_android_camerax/android/build.gradle @@ -65,7 +65,7 @@ dependencies { implementation "androidx.camera:camera-video:${camerax_version}" implementation 'com.google.guava:guava:33.4.0-android' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.0.0' - testImplementation 'androidx.test:core:1.4.0' - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'androidx.test:core:1.6.1' + testImplementation 'org.robolectric:robolectric:4.14.1' } diff --git a/packages/file_selector/file_selector_android/android/build.gradle b/packages/file_selector/file_selector_android/android/build.gradle index d4c982bca14a..ed41f156c7a4 100644 --- a/packages/file_selector/file_selector_android/android/build.gradle +++ b/packages/file_selector/file_selector_android/android/build.gradle @@ -37,9 +37,9 @@ android { dependencies { implementation 'androidx.annotation:annotation:1.9.1' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.1.0' - testImplementation 'androidx.test:core:1.4.0' - testImplementation "org.robolectric:robolectric:4.12.1" + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'androidx.test:core:1.6.1' + testImplementation "org.robolectric:robolectric:4.14.1" } lintOptions { diff --git a/packages/flutter_plugin_android_lifecycle/android/build.gradle b/packages/flutter_plugin_android_lifecycle/android/build.gradle index f273e1514131..dd63cebb2b00 100644 --- a/packages/flutter_plugin_android_lifecycle/android/build.gradle +++ b/packages/flutter_plugin_android_lifecycle/android/build.gradle @@ -62,5 +62,5 @@ android { dependencies { testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:5.1.1' + testImplementation 'org.mockito:mockito-core:5.15.2' } diff --git a/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle b/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle index d9e1055e225d..e16d7df667ba 100644 --- a/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle +++ b/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle @@ -39,13 +39,13 @@ android { implementation "androidx.annotation:annotation:1.9.1" implementation 'com.google.android.gms:play-services-maps:18.2.0' implementation 'com.google.maps.android:android-maps-utils:3.6.0' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test:rules:1.4.0' + androidTestImplementation 'androidx.test:runner:1.6.2' + androidTestImplementation 'androidx.test:rules:1.6.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:5.1.1' - testImplementation 'androidx.test:core:1.4.0' - testImplementation "org.robolectric:robolectric:4.10.3" + testImplementation 'org.mockito:mockito-core:5.15.2' + testImplementation 'androidx.test:core:1.6.1' + testImplementation "org.robolectric:robolectric:4.14.1" } compileOptions { diff --git a/packages/google_sign_in/google_sign_in_android/android/build.gradle b/packages/google_sign_in/google_sign_in_android/android/build.gradle index 6ce621afccbe..c65dfc5d8117 100644 --- a/packages/google_sign_in/google_sign_in_android/android/build.gradle +++ b/packages/google_sign_in/google_sign_in_android/android/build.gradle @@ -58,5 +58,5 @@ android { dependencies { implementation 'com.google.android.gms:play-services-auth:21.0.0' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.0.0' + testImplementation 'org.mockito:mockito-inline:5.2.0' } diff --git a/packages/image_picker/image_picker_android/android/build.gradle b/packages/image_picker/image_picker_android/android/build.gradle index 7f4fd20bb475..94a284e5b255 100644 --- a/packages/image_picker/image_picker_android/android/build.gradle +++ b/packages/image_picker/image_picker_android/android/build.gradle @@ -41,9 +41,9 @@ android { implementation 'androidx.activity:activity:1.9.3' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:5.1.1' - testImplementation 'androidx.test:core:1.4.0' - testImplementation "org.robolectric:robolectric:4.10.3" + testImplementation 'org.mockito:mockito-core:5.15.2' + testImplementation 'androidx.test:core:1.6.1' + testImplementation "org.robolectric:robolectric:4.14.1" } compileOptions { diff --git a/packages/in_app_purchase/in_app_purchase_android/android/build.gradle b/packages/in_app_purchase/in_app_purchase_android/android/build.gradle index 4539ca78454a..798cd01b7b87 100644 --- a/packages/in_app_purchase/in_app_purchase_android/android/build.gradle +++ b/packages/in_app_purchase/in_app_purchase_android/android/build.gradle @@ -63,9 +63,9 @@ dependencies { implementation 'com.android.billingclient:billing:7.1.1' testImplementation 'junit:junit:4.13.2' testImplementation 'org.json:json:20250107' - testImplementation 'org.mockito:mockito-core:5.4.0' - testImplementation 'androidx.test:core:1.5.0' - testImplementation 'org.robolectric:robolectric:4.10.3' - androidTestImplementation 'androidx.test:runner:1.5.2' + testImplementation 'org.mockito:mockito-core:5.15.2' + testImplementation 'androidx.test:core:1.6.1' + testImplementation 'org.robolectric:robolectric:4.14.1' + androidTestImplementation 'androidx.test:runner:1.6.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' } diff --git a/packages/interactive_media_ads/android/build.gradle b/packages/interactive_media_ads/android/build.gradle index 4394306cd2f4..97f9c17e3081 100644 --- a/packages/interactive_media_ads/android/build.gradle +++ b/packages/interactive_media_ads/android/build.gradle @@ -53,8 +53,8 @@ android { testImplementation 'junit:junit:4.13.2' testImplementation 'org.jetbrains.kotlin:kotlin-test' testImplementation "org.mockito.kotlin:mockito-kotlin:5.4.0" - testImplementation 'org.mockito:mockito-inline:5.1.0' - testImplementation 'androidx.test:core:1.4.0' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'androidx.test:core:1.6.1' } lintOptions { diff --git a/packages/local_auth/local_auth_android/android/build.gradle b/packages/local_auth/local_auth_android/android/build.gradle index 38acc695fae9..90d43bc44296 100644 --- a/packages/local_auth/local_auth_android/android/build.gradle +++ b/packages/local_auth/local_auth_android/android/build.gradle @@ -60,9 +60,9 @@ dependencies { api "androidx.biometric:biometric:1.1.0" api "androidx.fragment:fragment:1.6.2" testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.0.0' - testImplementation 'org.robolectric:robolectric:4.10.3' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test:rules:1.2.0' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'org.robolectric:robolectric:4.14.1' + androidTestImplementation 'androidx.test:runner:1.6.2' + androidTestImplementation 'androidx.test:rules:1.6.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' } diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle b/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle index 099568e3c98e..3362f8f4c4df 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle @@ -54,6 +54,6 @@ android { dependencies { testImplementation 'junit:junit:4.13.2' - testImplementation "org.mockito:mockito-core:5.1.1" + testImplementation "org.mockito:mockito-core:5.15.2" } } diff --git a/packages/quick_actions/quick_actions_android/android/build.gradle b/packages/quick_actions/quick_actions_android/android/build.gradle index 2fbf82af56c2..81b2b7e2e3f9 100644 --- a/packages/quick_actions/quick_actions_android/android/build.gradle +++ b/packages/quick_actions/quick_actions_android/android/build.gradle @@ -37,7 +37,7 @@ android { dependencies { testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:5.0.0' + testImplementation 'org.mockito:mockito-core:5.15.2' } compileOptions { diff --git a/packages/shared_preferences/shared_preferences_android/android/build.gradle b/packages/shared_preferences/shared_preferences_android/android/build.gradle index 966b2e6ab505..f782860eb8e5 100644 --- a/packages/shared_preferences/shared_preferences_android/android/build.gradle +++ b/packages/shared_preferences/shared_preferences_android/android/build.gradle @@ -63,9 +63,9 @@ android { implementation 'androidx.datastore:datastore-preferences:1.1.1' implementation 'androidx.preference:preference:1.2.1' testImplementation 'junit:junit:4.13.2' - testImplementation 'androidx.test:core-ktx:1.5.0' + testImplementation 'androidx.test:core-ktx:1.6.1' testImplementation 'androidx.test.ext:junit-ktx:1.2.1' - testImplementation 'org.robolectric:robolectric:4.12.1' + testImplementation 'org.robolectric:robolectric:4.14.1' testImplementation 'org.mockito:mockito-inline:5.2.0' testImplementation 'io.mockk:mockk:1.13.16' } diff --git a/packages/url_launcher/url_launcher_android/android/build.gradle b/packages/url_launcher/url_launcher_android/android/build.gradle index 22c6af107bbe..281600b2def5 100644 --- a/packages/url_launcher/url_launcher_android/android/build.gradle +++ b/packages/url_launcher/url_launcher_android/android/build.gradle @@ -65,7 +65,7 @@ dependencies { implementation 'androidx.annotation:annotation:1.9.1' implementation 'androidx.browser:browser:1.8.0' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:5.1.1' - testImplementation 'androidx.test:core:1.4.0' - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation 'org.mockito:mockito-core:5.15.2' + testImplementation 'androidx.test:core:1.6.1' + testImplementation 'org.robolectric:robolectric:4.14.1' } diff --git a/packages/video_player/video_player_android/android/build.gradle b/packages/video_player/video_player_android/android/build.gradle index dfc64bab624e..b46ba599d5dc 100644 --- a/packages/video_player/video_player_android/android/build.gradle +++ b/packages/video_player/video_player_android/android/build.gradle @@ -47,9 +47,9 @@ android { implementation "androidx.media3:media3-exoplayer-rtsp:${exoplayer_version}" implementation "androidx.media3:media3-exoplayer-smoothstreaming:${exoplayer_version}" testImplementation 'junit:junit:4.13.2' - testImplementation 'androidx.test:core:1.4.0' - testImplementation 'org.mockito:mockito-inline:5.0.0' - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation 'androidx.test:core:1.6.1' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'org.robolectric:robolectric:4.14.1' testImplementation "androidx.media3:media3-test-utils:${exoplayer_version}" } diff --git a/packages/webview_flutter/webview_flutter_android/android/build.gradle b/packages/webview_flutter/webview_flutter_android/android/build.gradle index 01a39dfd38f3..fa078d41cab1 100644 --- a/packages/webview_flutter/webview_flutter_android/android/build.gradle +++ b/packages/webview_flutter/webview_flutter_android/android/build.gradle @@ -52,8 +52,8 @@ android { implementation 'androidx.annotation:annotation:1.9.1' implementation 'androidx.webkit:webkit:1.12.1' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-inline:5.1.0' - testImplementation 'androidx.test:core:1.4.0' + testImplementation 'org.mockito:mockito-inline:5.2.0' + testImplementation 'androidx.test:core:1.6.1' } testOptions { From 02bf9ac107fb31c0a6149c3f7a6494317259c277 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Thu, 27 Feb 2025 11:50:33 -0500 Subject: [PATCH 2/2] Update test for robolectric API typo fix --- .../java/io/flutter/plugins/imagepicker/FileUtilTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java b/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java index 1a33302e1fdc..4c0a82e03fc0 100644 --- a/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java +++ b/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java @@ -53,9 +53,9 @@ public void before() { shadowContentResolver = shadowOf(context.getContentResolver()); fileUtils = new FileUtils(); ShadowMimeTypeMap mimeTypeMap = shadowOf(MimeTypeMap.getSingleton()); - mimeTypeMap.addExtensionMimeTypMapping("jpg", "image/jpeg"); - mimeTypeMap.addExtensionMimeTypMapping("png", "image/png"); - mimeTypeMap.addExtensionMimeTypMapping("webp", "image/webp"); + mimeTypeMap.addExtensionMimeTypeMapping("jpg", "image/jpeg"); + mimeTypeMap.addExtensionMimeTypeMapping("png", "image/png"); + mimeTypeMap.addExtensionMimeTypeMapping("webp", "image/webp"); } @Test