Sourced from org.robolectric:robolectric's releases.
Robolectric 4.14 adds support for Android V (SDK 35)!
If you encounter any issues, please file them on the GitHub issues page.
Thanks to everyone who contributed to the release, especially our GSoC contributors
@Mia0451
and@Devashishbasu
!What's Changed
- Bump roborazzi from 1.20.0 to 1.21.0 by
@dependabot
in robolectric/robolectric#9270- Update snapshot version in Readme by
@MGaetan89
in robolectric/robolectric#9271- Remove obsolete reference to per-sdk shadows robolectric/robolectric#9272
- Remove google internal bug references from ExtractAarTransform. robolectric/robolectric#9273
- Expose SimplePerfStatsReporter#finalReport. robolectric/robolectric#9275
- Skip instrumenting classes with junit methods robolectric/robolectric#9276
- Update setDelegatedScopes to clear previously delegated scopes. robolectric/robolectric#9279
- Make fields of ShadowBatteryManager static for context level instance by
@Devashishbasu
in robolectric/robolectric#9278- Do some minor cleanup in
SandboxClassLoader
robolectric/robolectric#9280- Fix XML validation error in testapp's AndroidManifest.xml robolectric/robolectric#9282
- Replace
androidx.test.annotation.Beta
withcom.google.common.annotations.Beta
by@MGaetan89
in robolectric/robolectric#9277- Add support for RangingResult.Builder in ShadowRangingResult for V. robolectric/robolectric#9283
- Add support for RangingResult.Builder in ShadowRangingResult for V. robolectric/robolectric#9285
- Add tests to
ShadowSharedPreferences
by@MGaetan89
in robolectric/robolectric#9287- Add a ctesque test for andoid.media.MediaPlayer robolectric/robolectric#9289
- Bump Gradle to 8.9 by
@MGaetan89
in robolectric/robolectric#9291- Support
@ClassName
in function return type by@Mia0451
in robolectric/robolectric#9268- Add special case handling for NoClassDefError in SandboxTestRunner robolectric/robolectric#9294
- Remove additional unused logic for legacy resources robolectric/robolectric#9296
- Remove looseSignatures usage from ShadowArscApkAssets9 by
@Mia0451
in robolectric/robolectric#9299- Remove looseSignatures usage from ShadowAudioManager by
@Mia0451
in robolectric/robolectric#9300- Remove looseSignatures usage from ShadowAppOpsManager by
@Mia0451
in robolectric/robolectric#9297- Keep parameter name of noteProxyOpNoThrow same as origin method by
@utzcoz
in robolectric/robolectric#9301- Remove looseSignatures usage from ShadowActivityManager by
@Mia0451
in robolectric/robolectric#9293- Remove looseSignatures usage from ShadowActivityThread by
@Mia0451
in robolectric/robolectric#9295- Add support for ImageDecoder.createSource(File) by
@hoisie
in robolectric/robolectric#9302- Remove looseSignatures usage from ShadowAudioTrack by
@Mia0451
in robolectric/robolectric#9303- Remove looseSignatures usage from ShadowBackupDataInput by
@Mia0451
in robolectric/robolectric#9304- Remove looseSignatures usage from ShadowBitmap by
@Mia0451
in robolectric/robolectric#9306- Remove looseSignatures usage from ShadowBluetoothDevice by
@Mia0451
in robolectric/robolectric#9308- Remove looseSignatures usage from ShadowContentProvider by
@Mia0451
in robolectric/robolectric#9309- Remove looseSignatures usage from ShadowContextHubManager by
@Mia0451
in robolectric/robolectric#9310- Remove looseSignatures usage from ShadowBluetoothAdapter by
@Mia0451
in robolectric/robolectric#9307- Add extension API setAlias for ShadowBluetoothDevice's compatibility by
@utzcoz
in robolectric/robolectric#9311- Remove looseSignatures usage from ShadowApplicationPackageManager by
@Mia0451
in robolectric/robolectric#9298- Bump android-gradle from 8.5.0 to 8.5.1 by
@dependabot
in robolectric/robolectric#9313- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.40 to 8.13.41 by
@dependabot
in robolectric/robolectric#9312- Bump roborazzi from 1.21.0 to 1.22.2 by
@dependabot
in robolectric/robolectric#9315- Bump com.android.tools:common from 31.5.0 to 31.5.1 by
@dependabot
in robolectric/robolectric#9314- Remove looseSignatures usage from ShadowDevicePolicyManager by
@Mia0451
in robolectric/robolectric#9316- Remove looseSignatures usage from ShadowDisplayEventReceiver by
@Mia0451
in robolectric/robolectric#9317- Remove looseSignatures usage from ShadowDisplayManager by
@Mia0451
in robolectric/robolectric#9318- Add Shadow implementation for ShadowAppOpsManager.setUidMode robolectric/robolectric#9319
... (truncated)
1ae93b4
Bump version to 4.14.ed0ed4a
Update the Android V SDK to build 1265050268e04b8
Defer to real framework code for
AccessibilityWindowInfo.getWindowId434e22d
Clear ShadowAccessibilityWindowInfo fields during recyclede31683
Remove unused and incorrect APIs in ShadowAccessibilityNodeInfo48b87fd
Disable AccessibililityNodeInfo shadow APIs for direct connections58387bb
Remove boundsInScreen logic in ShadowAccessibilityNodeInfo67a6338
Add additional check for
AccessibilityNodeInfo.setQueryFromProcessEnabledab1354f
Remove Parcel-related methods in ShadowAccessibilityNodeInfoaef0269
Remove StrictEqualityWindowWrapper from
ShadowAccessibilityWindowInfo