Skip to content

Commit bc5ad23

Browse files
authored
Bump robolectric to 4.16 (#9044)
* Bump robolectric * test with 36 * avoid requiring JDK 21 for Robolectric tests
1 parent f06e0e9 commit bc5ad23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import org.robolectric.annotation.Config
3535

3636
@RunWith(RobolectricTestRunner::class)
3737
@Config(
38-
sdk = [21, 26, 30, 33, 35],
38+
sdk = [23, 26, 30, 33, 35],
3939
)
4040
class DisabledInitialiserTest {
4141
@Before

android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import org.robolectric.annotation.Config
2525

2626
@RunWith(RobolectricTestRunner::class)
2727
@Config(
28-
sdk = [21, 26, 30, 33, 35],
28+
sdk = [23, 26, 30, 33, 35],
2929
)
3030
class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
3131
@Before

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ openjsse = "org.openjsse:openjsse:1.1.14"
100100
playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.1.0"
101101
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
102102
robolectric-android = "org.robolectric:android-all:16-robolectric-13921718"
103-
robolectric = "org.robolectric:robolectric:4.15.1"
103+
robolectric = "org.robolectric:robolectric:4.16"
104104
#noinspection UnusedVersionCatalogEntry
105105
signature-android-apilevel21 = "net.sf.androidscents.signature:android-api-level-21:5.0.1_r2"
106106
#noinspection UnusedVersionCatalogEntry

0 commit comments

Comments
 (0)