Skip to content

Commit 3b0b59b

Browse files
authored
Bump Robolectric to 4.11.1 (flutter#51310)
Bump Robolectric to the latest stable 4.11.1. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 210f84e commit 3b0b59b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

shell/platform/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ android {
5252
implementation "androidx.test:core:1.4.0"
5353
implementation "com.google.android.play:core:1.8.0"
5454
implementation "com.ibm.icu:icu4j:69.1"
55-
implementation "org.robolectric:robolectric:4.11"
55+
implementation "org.robolectric:robolectric:4.11.1"
5656
implementation "junit:junit:4.13.2"
5757
implementation "androidx.test.ext:junit:1.1.4-alpha07"
5858

shell/platform/android/test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Unit testing Java code
22

3-
All Java code in the engine should now be able to be tested with Robolectric 4.10.3
3+
All Java code in the engine should now be able to be tested with Robolectric 4.11.1
44
and JUnit 4. The test suite has been added after the bulk of the Java code was
55
first written, so most of these classes do not have existing tests. Ideally code
66
after this point should be tested, either with unit tests here or with

shell/platform/android/test_runner/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ android {
7070
testImplementation "androidx.test:core:1.4.0"
7171
testImplementation "com.google.android.play:core:1.8.0"
7272
testImplementation "com.ibm.icu:icu4j:69.1"
73-
testImplementation "org.robolectric:robolectric:4.11"
73+
testImplementation "org.robolectric:robolectric:4.11.1"
7474
testImplementation "junit:junit:4.13.2"
7575
testImplementation "androidx.test.ext:junit:1.1.4-alpha07"
7676

0 commit comments

Comments
 (0)