Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/parity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ and migrations from iOS builds Android never had. Sub-asserts dropped inside a p
counted. A JVM count can exceed the iOS count because parameterized iOS tests and framework halves
(`…FrameworkTests` under Robolectric) are separate Kotlin tests.

Robolectric 4.16 (test-only) runs the tests that need Android framework classes (Bitmap/ImageDecoder
Robolectric 4.18.1 (test-only) runs the tests that need Android framework classes (Bitmap/ImageDecoder
pixels, `Intent`, `android.icu`, `Patterns`, `LruCache`, `MimeTypeMap`, AppSearch, the main looper,
`Vibrator`) in `:app`, `:core`, `:feature:media`, `:feature:voice`, `:feature:system`,
`:feature:transcript`, `:feature:composer`, `:feature:settings`, `:feature:session` and `:feature:drawer`.
2 changes: 1 addition & 1 deletion docs/parity/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tests can't run here, even under Robolectric.

Test-only support: `MediaTestSupport.kt` (`stubBitmap()` for code that only carries an image by
identity, `stubSiteIcon`, `Locked`, `onMain`). Tests that need the Android framework run under
Robolectric 4.16 (test-only; `sdk = 35`, native graphics where pixels are drawn, encoded or
Robolectric 4.18.1 (test-only; `sdk = 35`, native graphics where pixels are drawn, encoded or
decoded) in their own classes, so the rest stay plain JVM: `ImageLinkPreviewTests`,
`AgentImagePreviewReadTests` (the previews' pixel cache is the framework's `LruCache`, weighing
real bitmaps) and `SiteIconLoaderTests` whole; `SiteIconImageTests`
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ webrtc = "1.3.10"
jlatexmath = "0.2.0"
junit = "4.13.2"
turbine = "1.2.1"
robolectric = "4.16"
robolectric = "4.18.1"
androidxJunit = "1.3.0"

[libraries]
Expand Down Expand Up @@ -106,7 +106,7 @@ turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
# Match Robolectric's DefaultSdkProvider for the @Config SDKs used by unit tests.
android-all-api34 = { module = "org.robolectric:android-all-instrumented", version = "14-robolectric-10818077-i7" }
android-all-api35 = { module = "org.robolectric:android-all-instrumented", version = "15-robolectric-13954326-i7" }
android-all-api35 = { module = "org.robolectric:android-all-instrumented", version = "15-robolectric-14663667-2-i7" }
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidxJunit" }

# build-logic
Expand Down
Loading