Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 269b1a5

Browse files
committed
Bump Robolectric to 4.8.1
1. Bump sdk to 32. 2. Remove icu4j from testImplementation because Robolectric has a higher icu4j dependency. Signed-off-by: utzcoz <[email protected]>
1 parent 12f604e commit 269b1a5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

shell/platform/android/test/README.md

+1-1
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.7.3
3+
All Java code in the engine should now be able to be tested with Robolectric 4.8.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

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ android {
6969
implementation files(project.property("flutter_jar"))
7070
testImplementation "androidx.test:core:1.4.0"
7171
testImplementation "com.google.android.play:core:1.8.0"
72-
testImplementation "com.ibm.icu:icu4j:69.1"
73-
testImplementation "org.robolectric:robolectric:4.7.3"
72+
testImplementation "org.robolectric:robolectric:4.8.1"
7473
testImplementation "junit:junit:4.13"
7574
testImplementation "androidx.test.ext:junit:1.1.3"
7675

Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sdk=31
1+
sdk=32
22
shadows=io.flutter.CustomShadowContextImpl

0 commit comments

Comments
 (0)