robolectric-4.14
Robolectric 4.14
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 https://github.com/robolectric/robolectric/pull/9270
- Update snapshot version in Readme by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9271
- Remove obsolete reference to per-sdk shadows https://github.com/robolectric/robolectric/pull/9272
- Remove google internal bug references from ExtractAarTransform. https://github.com/robolectric/robolectric/pull/9273
- Expose SimplePerfStatsReporter#finalReport. https://github.com/robolectric/robolectric/pull/9275
- Skip instrumenting classes with junit methods https://github.com/robolectric/robolectric/pull/9276
- Update setDelegatedScopes to clear previously delegated scopes. https://github.com/robolectric/robolectric/pull/9279
- Make fields of ShadowBatteryManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9278
- Do some minor cleanup in
SandboxClassLoaderhttps://github.com/robolectric/robolectric/pull/9280 - Fix XML validation error in testapp's AndroidManifest.xml https://github.com/robolectric/robolectric/pull/9282
- Replace
androidx.test.annotation.Betawithcom.google.common.annotations.Betaby @MGaetan89 in https://github.com/robolectric/robolectric/pull/9277 - Add support for RangingResult.Builder in ShadowRangingResult for V. https://github.com/robolectric/robolectric/pull/9283
- Add support for RangingResult.Builder in ShadowRangingResult for V. https://github.com/robolectric/robolectric/pull/9285
- Add tests to
ShadowSharedPreferencesby @MGaetan89 in https://github.com/robolectric/robolectric/pull/9287 - Add a ctesque test for andoid.media.MediaPlayer https://github.com/robolectric/robolectric/pull/9289
- Bump Gradle to 8.9 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9291
- Support @ClassName in function return type by @Mia0451 in https://github.com/robolectric/robolectric/pull/9268
- Add special case handling for NoClassDefError in SandboxTestRunner https://github.com/robolectric/robolectric/pull/9294
- Remove additional unused logic for legacy resources https://github.com/robolectric/robolectric/pull/9296
- Remove looseSignatures usage from ShadowArscApkAssets9 by @Mia0451 in https://github.com/robolectric/robolectric/pull/9299
- Remove looseSignatures usage from ShadowAudioManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9300
- Remove looseSignatures usage from ShadowAppOpsManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9297
- Keep parameter name of noteProxyOpNoThrow same as origin method by @utzcoz in https://github.com/robolectric/robolectric/pull/9301
- Remove looseSignatures usage from ShadowActivityManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9293
- Remove looseSignatures usage from ShadowActivityThread by @Mia0451 in https://github.com/robolectric/robolectric/pull/9295
- Add support for ImageDecoder.createSource(File) by @hoisie in https://github.com/robolectric/robolectric/pull/9302
- Remove looseSignatures usage from ShadowAudioTrack by @Mia0451 in https://github.com/robolectric/robolectric/pull/9303
- Remove looseSignatures usage from ShadowBackupDataInput by @Mia0451 in https://github.com/robolectric/robolectric/pull/9304
- Remove looseSignatures usage from ShadowBitmap by @Mia0451 in https://github.com/robolectric/robolectric/pull/9306
- Remove looseSignatures usage from ShadowBluetoothDevice by @Mia0451 in https://github.com/robolectric/robolectric/pull/9308
- Remove looseSignatures usage from ShadowContentProvider by @Mia0451 in https://github.com/robolectric/robolectric/pull/9309
- Remove looseSignatures usage from ShadowContextHubManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9310
- Remove looseSignatures usage from ShadowBluetoothAdapter by @Mia0451 in https://github.com/robolectric/robolectric/pull/9307
- Add extension API setAlias for ShadowBluetoothDevice's compatibility by @utzcoz in https://github.com/robolectric/robolectric/pull/9311
- Remove looseSignatures usage from ShadowApplicationPackageManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9298
- Bump android-gradle from 8.5.0 to 8.5.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9313
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.40 to 8.13.41 by @dependabot in https://github.com/robolectric/robolectric/pull/9312
- Bump roborazzi from 1.21.0 to 1.22.2 by @dependabot in https://github.com/robolectric/robolectric/pull/9315
- Bump com.android.tools:common from 31.5.0 to 31.5.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9314
- Remove looseSignatures usage from ShadowDevicePolicyManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9316
- Remove looseSignatures usage from ShadowDisplayEventReceiver by @Mia0451 in https://github.com/robolectric/robolectric/pull/9317
- Remove looseSignatures usage from ShadowDisplayManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9318
- Add Shadow implementation for ShadowAppOpsManager.setUidMode https://github.com/robolectric/robolectric/pull/9319
- Remove looseSignatures usage from ShadowDisplayManagerGlobal by @Mia0451 in https://github.com/robolectric/robolectric/pull/9320
- Remove looseSignatures usage from ShadowInputManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9323
- Remove looseSignatures usage from ShadowInputMethodManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9324
- Add ShadowPermissionControllerManager and shadow revokeRuntimePermissions https://github.com/robolectric/robolectric/pull/9326
- Add support to set showWhenLocked from manifest for ShadowActivity https://github.com/robolectric/robolectric/pull/9328
- Remove ShadowCrossProfileApps constructor https://github.com/robolectric/robolectric/pull/9329
- Remove looseSignatures usage from ShadowImageReader by @Mia0451 in https://github.com/robolectric/robolectric/pull/9322
- Add support for RangingResult.Builder in ShadowRangingResult for V. https://github.com/robolectric/robolectric/pull/9325
- Add tests for ShadowAlarmManager static fields by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9284
- Bump roborazzi from 1.22.2 to 1.23.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9337
- Bring integration_tests/multidex back and make it work with test process by @utzcoz in https://github.com/robolectric/robolectric/pull/9266
- Treat compact resource entry offsets as unsigned shorts https://github.com/robolectric/robolectric/pull/9345
- Add ability to resetCapabilities for NetworkCapabilities. https://github.com/robolectric/robolectric/pull/9333
- Update SDK in test resources script and regenerate. https://github.com/robolectric/robolectric/pull/9348
- Add support for Activity#requestsPermissions(String[], int, int) https://github.com/robolectric/robolectric/pull/9349
- Make some fields of ShadowClipboardManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9335
- Add shadow support for SDK 33 PackageManager#queryIntentServices by @jselbo in https://github.com/robolectric/robolectric/pull/9346
- Remove looseSignatures usage from ShadowHardwareRenderer by @Mia0451 in https://github.com/robolectric/robolectric/pull/9321
- Adds support for shadowing ActivityManager.getRecentTasks() https://github.com/robolectric/robolectric/pull/9355
- Remove looseSignatures usage from ShadowNativeBitmap by @Mia0451 in https://github.com/robolectric/robolectric/pull/9354
- Move hardcoded list of packages to never acquire to InstrumentationConfiguration https://github.com/robolectric/robolectric/pull/9356
- Remove looseSignatures usage from ShadowMediaCodec by @Mia0451 in https://github.com/robolectric/robolectric/pull/9353
- Remove looseSignatures usage from ShadowLegacyTypeface by @Mia0451 in https://github.com/robolectric/robolectric/pull/9327
- Remove looseSignatures usage from ShadowNativeImageReader by @Mia0451 in https://github.com/robolectric/robolectric/pull/9361
- Remove looseSignatures usage from ShadowNativeHardwareRenderer by @Mia0451 in https://github.com/robolectric/robolectric/pull/9360
- Bump roborazzi from 1.23.0 to 1.25.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9364
- Bump the androidx group with 3 updates by @dependabot in https://github.com/robolectric/robolectric/pull/9363
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.41 to 8.13.42 by @dependabot in https://github.com/robolectric/robolectric/pull/9365
- Extend VirtualDisplay shadow support down to SDK 28 by @jselbo in https://github.com/robolectric/robolectric/pull/9339
- Remove the latest android-all from the runtime classpath when running Robolectric tests by @hoisie in https://github.com/robolectric/robolectric/pull/9358
- Add tests ShadowKeyguardManager static fields by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9372
- Update to
google-java-format1.23.0 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9373 - Migrate
buildSrcGradle files to Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9374 - Allow for case-insensitive single value configuration reading. https://github.com/robolectric/robolectric/pull/9375
- Remove deprecated FragmentTestUtil https://github.com/robolectric/robolectric/pull/9377
- Remove looseSignatures usage from ShadowNativeStaticLayout by @Mia0451 in https://github.com/robolectric/robolectric/pull/9386
- Remove looseSignatures usage from ShadowNativeRenderNodeOP by @Mia0451 in https://github.com/robolectric/robolectric/pull/9385
- Remove looseSignatures usage from ShadowNativeRenderNodeAnimatorQ by @Mia0451 in https://github.com/robolectric/robolectric/pull/9384
- Remove looseSignatures usage from ShadowNativePaint by @Mia0451 in https://github.com/robolectric/robolectric/pull/9383
- Remove looseSignatures usage from ShadowNativeImageReaderSurfaceImage by @Mia0451 in https://github.com/robolectric/robolectric/pull/9382
- Make fields of ShadowColorDisplayManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9367
- Make fields of ShadowDevicePolicyManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9352
- Remove looseSignatures usage from ShadowLocationManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9330
- Make fields of ShadowAutofillManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9305
- Make fields of ShadowDownloadManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9362
- Make fields of ShadowFingerprintManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9369
- Make some fields of ShadowActivityManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9234
- Make fields of ShadowCameraManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9334
- Make some fields of ShadowAppWidgetManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9267
- Make fields of ShadowContextHubManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9366
- Make fields of ShadowBiometricManager static for context level by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9332
- Remove unused legacy resource logic for AndroidTestEnvironment by @utzcoz in https://github.com/robolectric/robolectric/pull/9389
- Remove looseSignatures usage from ShadowNfcAdapter by @Mia0451 in https://github.com/robolectric/robolectric/pull/9393
- Remove looseSignatures usage from ShadowNetworkCapabilities by @Mia0451 in https://github.com/robolectric/robolectric/pull/9392
- Make fields of ShadowAppsOpsManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9390
- Make fields of ShadowBluetoothManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9395
- Remove looseSignatures usage from ShadowNotificationManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9398
- Remove looseSignatures usage from ShadowNativeTypeface by @Mia0451 in https://github.com/robolectric/robolectric/pull/9391
- Bump gradle/actions from 3 to 4 by @dependabot in https://github.com/robolectric/robolectric/pull/9400
- Copy SessionInfo.installerPackageName when creating session https://github.com/robolectric/robolectric/pull/9402
- Remove the
gradle_wrapper_validation.ymlworkflow by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9403 - Add @Resetter for GLSurfaceView to terminate the GLThread, if running. https://github.com/robolectric/robolectric/pull/9406
- Remove looseSignatures usage from ShadowPausedMessageQueue by @Mia0451 in https://github.com/robolectric/robolectric/pull/9414
- Make-fields-of-ShadowEuiccManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9413
- Remove looseSignatures usage from ShadowParcel by @Mia0451 in https://github.com/robolectric/robolectric/pull/9407
- Remove looseSignatures usage from ShadowPaint by @Mia0451 in https://github.com/robolectric/robolectric/pull/9401
- Remove looseSignatures usage from ShadowPhoneWindow by @Mia0451 in https://github.com/robolectric/robolectric/pull/9417
- Make-fields-of-ShadowCrossProfileApps-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9411
- Make-fields-of-ShadowLauncherApps-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9418
- Avoid an OOM when PathIterator is used in LEGACY graphics mode https://github.com/robolectric/robolectric/pull/9423
- Improve simulation of VMRuntime.newNonMoveableArray and VMRuntime.addressOf https://github.com/robolectric/robolectric/pull/9424
- Remove looseSignatures usage from ShadowPhoneWindowFor22 by @Mia0451 in https://github.com/robolectric/robolectric/pull/9422
- Move Java files in
buildSrcto thejavasource set by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9426 - Migrate the
agppackage inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9427 - Migrate the
AggregateJavadocPluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9428 - Migrate the
SpotlessPluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9429 - Make-fields-of-ShadowDropBoxManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9412
- Deprecate LEGACY SQLite mode https://github.com/robolectric/robolectric/pull/9433
- Add necessary minSdk = O for some createActivityContexts tests by @utzcoz in https://github.com/robolectric/robolectric/pull/9431
- Remove looseSignatures usage from ShadowPosix by @Mia0451 in https://github.com/robolectric/robolectric/pull/9438
- Add tests for ShadowMediaRouter static state by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9432
- Remove looseSignatures usage from ShadowPixelCopy by @Mia0451 in https://github.com/robolectric/robolectric/pull/9425
- Fix incorrect method name in ShadowInstrumentation warning log by @utzcoz in https://github.com/robolectric/robolectric/pull/9439
- Remove looseSignatures usage from ShadowSystemVibrator by @Mia0451 in https://github.com/robolectric/robolectric/pull/9447
- Remove looseSignatures usage from ShadowSystemServiceRegistry by @Mia0451 in https://github.com/robolectric/robolectric/pull/9446
- Remove looseSignatures usage from ShadowSensorManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9442
- Remove looseSignatures usage from ShadowRotationWatcherFor22 by @Mia0451 in https://github.com/robolectric/robolectric/pull/9441
- Make-fields-of-ShadowNetworkScoreManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9449
- Add tests for ShadowCaptioningManager static state by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9396
- Bump roborazzi from 1.25.0 to 1.26.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9471
- Bump androidx.annotation:annotation from 1.8.1 to 1.8.2 in the androidx group by @dependabot in https://github.com/robolectric/robolectric/pull/9467
- Bump kotlin from 2.0.0 to 2.0.10 by @dependabot in https://github.com/robolectric/robolectric/pull/9470
- Bump android-gradle from 8.5.1 to 8.5.2 by @dependabot in https://github.com/robolectric/robolectric/pull/9468
- Bump com.android.tools:common from 31.5.1 to 31.5.2 by @dependabot in https://github.com/robolectric/robolectric/pull/9469
- Remove looseSignatures usage from ShadowWindowManagerGlobal by @Mia0451 in https://github.com/robolectric/robolectric/pull/9463
- Remove looseSignatures usage from ShadowTimeZoneFinderS by @Mia0451 in https://github.com/robolectric/robolectric/pull/9457
- Remove looseSignatures usage from ShadowTimeZoneFinderQ by @Mia0451 in https://github.com/robolectric/robolectric/pull/9456
- Remove looseSignatures usage from ShadowThreadedRenderer by @Mia0451 in https://github.com/robolectric/robolectric/pull/9454
- Remove looseSignatures usage from ShadowSystemClock by @Mia0451 in https://github.com/robolectric/robolectric/pull/9445
- Remove looseSignatures usage from ShadowSurface by @Mia0451 in https://github.com/robolectric/robolectric/pull/9444
- Remove looseSignatures usage from ShadowSpeechRecognizer by @Mia0451 in https://github.com/robolectric/robolectric/pull/9443
- Remove looseSignatures usage from ShadowPowerManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9440
- Make-fields-of-ShadowSensorManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9465
- Update ShadowVMRuntime.newNonMovableArray to support PathIterator https://github.com/robolectric/robolectric/pull/9434
- Remove looseSignatures usage from ShadowUsbManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9460
- Remove looseSignatures usage from ShadowUsageStatsManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9459
- Remove looseSignatures usage from ShadowTimeZoneFinder by @Mia0451 in https://github.com/robolectric/robolectric/pull/9455
- Add tests for ShadowRoleManager static state by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9453
- Remove looseSignatures usage from ShadowTelephonyManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9448
- Migrate the
AarDepsPluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9466 - Migrate the
GradleManagedDevicePluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9437 - Make-fields-of-ShadowSliceManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9473
- Upgrade to Gradle 8.10 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9474
- Remove looseSignatures usage from ShadowNoopNativeAllocationRegistry by @Mia0451 in https://github.com/robolectric/robolectric/pull/9394
- Migrate the
DeployedRoboJavaModulePluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9430 - Make-fields-of-ShadowSafetyCenterManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9461
- Add tests for ShadowStorageManager static state by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9476
- Add an overload for setInstallSourceInfo that has all possible parameters. https://github.com/robolectric/robolectric/pull/9491
- Migrate the
ShadowsPluginplugin inbuildSrcto Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9489 - Support font_var_typeface_cache changes. https://github.com/robolectric/robolectric/pull/9493
- Add support for LauncherApps.getProfiles() on V+ in Robolectric. https://github.com/robolectric/robolectric/pull/9495
- Update the CodeQL workflow by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9494
- Make-fields-of-ShadowUwbManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9497
- Make-fields-of-ShadowUsbManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9487
- Make-fields-of-ShadowTimeManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9483
- Make-fields-of-ShadowWearableSensingManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9499
- Make-fields-of-ShadowUsageStatsManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9486
- Make-fields-of-ShadowSubscriptionManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9477
- Add tests for ShadowTelephonyManager static state by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9481
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.42 to 8.13.43 by @dependabot in https://github.com/robolectric/robolectric/pull/9505
- Bump the androidx-test group with 2 updates by @dependabot in https://github.com/robolectric/robolectric/pull/9504
- Make-fields-of-ShadowSystemHealthManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9479
- Migrate
buildSrcGradle files to Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9344 - Remove special case instrumentation configuration for user R classes https://github.com/robolectric/robolectric/pull/9507
- Change first arg in TestEnvironment.setUpApplicationState from Method to String https://github.com/robolectric/robolectric/pull/9508
- Trigger ConnectivityManager.NetworkCallback via ShadowConnectivityManager.setDefaultNetworkActive() https://github.com/robolectric/robolectric/pull/9509
- Remove obsolete getLong and getInt functions in ShadowPuasedMessageQueue https://github.com/robolectric/robolectric/pull/9511
- Update naming for ShadowPausedMessageQueue.nativePollOnce by @hoisie in https://github.com/robolectric/robolectric/pull/9510
- Regenerate Robolectric test resources by @hoisie in https://github.com/robolectric/robolectric/pull/9512
- Remove custom CSS from the generated Javadoc by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9515
- Make-fields-of-ShadowLocaleManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9420
- Add test to guard the behavior of ClassName annotation concerned with generic type by @Mia0451 in https://github.com/robolectric/robolectric/pull/9514
- Rearrange API levels for unit tests by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9502
- Make-fields-of-ShadowVirtualManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9519
- Make-fields-of-ShadowVcnManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9518
- Make-fields-of-ShadowRestrictionsManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9452
- Make-fields-of-ShadowSearchManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9464
- Migrate root Gradle files to kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9521
- Remove looseSignatures usage from ShadowWifiManager by @Mia0451 in https://github.com/robolectric/robolectric/pull/9462
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.43 to 8.13.44 by @dependabot in https://github.com/robolectric/robolectric/pull/9524
- Bump kotlin from 2.0.10 to 2.0.20 by @dependabot in https://github.com/robolectric/robolectric/pull/9523
- Migrate some Gradle files to Kotlin by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9522
- Migrate some Gradle files to Kotlin (2) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9527
- Make-fields-of-ShadowShortcutManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9472
- Migrate some Gradle files to Kotlin (3) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9528
- Make fields of ShadowInputMethodManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9371
- Migrate some Gradle files to Kotlin (4) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9530
- Make-fields-of-ShadowWifiP2pManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9503
- Make fields of ShadowFileIntegrityManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9368
- Make-fields-of-ShadowRollbackManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9458
- Migrate the remaining Gradle files to Kotlin (7) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9534
- Remove duplicated USE_BIOMETRIC declaration by @utzcoz in https://github.com/robolectric/robolectric/pull/9536
- Make fields of ShadowAmbientContextManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9388
- dev: Add basic devcontainer for GitHub Codespaces by @utzcoz in https://github.com/robolectric/robolectric/pull/9535
- Migrate some Gradle files to Kotlin (5) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9532
- Make-fields-of-ShadowPowerManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9451
- Migrate some Gradle files to Kotlin (6) by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9533
- Make-fields-of-ShadowNotificationManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9450
- Make fields of ShadowCarrierConfigManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9397
- Make-fields-of-ShadowTelecomManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9480
- Remove Groovy-specific config by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9538
- Bump android-gradle from 8.5.2 to 8.6.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9539
- Bump com.android.tools:common from 31.5.2 to 31.6.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9540
- Prepare for the V SDK release. https://github.com/robolectric/robolectric/pull/9542
- Enable ShadowNativePathIterator for Android V https://github.com/robolectric/robolectric/pull/9543
- Add test for ShadowContentResolver.openAssetFileDescriptor https://github.com/robolectric/robolectric/pull/9544
- Allow the latest release in AndroidVersion to still be unreleased. https://github.com/robolectric/robolectric/pull/9545
- Update ShadowPermissionControllerManagerTest to use a mock https://github.com/robolectric/robolectric/pull/9547
- Use a mock ContextHubClientCallback in ShadowContextHubManagerTest https://github.com/robolectric/robolectric/pull/9549
- Improve deprecation message for ShadowRangingResult https://github.com/robolectric/robolectric/pull/9550
- Update the main
Readmefile by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9551 - Make-fields-of-ShadowWifiAwareManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9501
- Make-fields-of-ShadowVpnManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9520
- Make-fields-of-ShadowTranslationManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9484
- Make-fields-of-ShadowMediaSessionManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9435
- Make fields of ShadowConnectivityManager static for context level instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9340
- Make-fields-of-ShadowWallpaperManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9498
- Use lazy device creation in
GradleManagedDevicePluginby @MGaetan89 in https://github.com/robolectric/robolectric/pull/9553 - Bump the androidx group with 2 updates by @dependabot in https://github.com/robolectric/robolectric/pull/9556
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.44 to 8.13.45 by @dependabot in https://github.com/robolectric/robolectric/pull/9557
- Bump io.gitlab.arturbosch.detekt from 1.23.6 to 1.23.7 by @dependabot in https://github.com/robolectric/robolectric/pull/9558
- Update to Gradle 8.10.1 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9559
- Reduce NoClassDefFoundError in ShadowContextHubManager https://github.com/robolectric/robolectric/pull/9561
- Adds ShadowOverlayManager. https://github.com/robolectric/robolectric/pull/9562
- Merge branch 'google' into 'master' by @hoisie in https://github.com/robolectric/robolectric/pull/9546
- Update some method signatures after ClassName migration by @hoisie in https://github.com/robolectric/robolectric/pull/9563
- Add a new definition for ShadowMediaPlayer create https://github.com/robolectric/robolectric/pull/9564
- Add support for key filtering in getConfigForSubId(int subId, String... keys) https://github.com/robolectric/robolectric/pull/9565
- Remove long-deprecated and misspelled method in ShadowPackageManager https://github.com/robolectric/robolectric/pull/9568
- Add Javadoc for files that have been recently modified by @hoisie in https://github.com/robolectric/robolectric/pull/9569
- Fix common typos of recently modified files by @hoisie in https://github.com/robolectric/robolectric/pull/9570
- Remove AndroidJdkLibsChecker suppression in the sandbox project https://github.com/robolectric/robolectric/pull/9571
- Add a flag to disable @InDevelopment. https://github.com/robolectric/robolectric/pull/9567
- Fix edge case when using
@Implementation(methodName=...)by @hoisie in https://github.com/robolectric/robolectric/pull/9575 - Test merge by @hoisie in https://github.com/robolectric/robolectric/pull/9576
- Remove unnecessary shadow from MethodNameTest by @hoisie in https://github.com/robolectric/robolectric/pull/9577
- Fix native Bitmap.recycle in Android V by @hoisie in https://github.com/robolectric/robolectric/pull/9578
- Move data listener notification to lower layer as well to cover primitive bytes writes as well. https://github.com/robolectric/robolectric/pull/9579
- Add support for NfcAdapter observe mode. https://github.com/robolectric/robolectric/pull/9580
- Remove unused code from ShadowWranglerUnitTest https://github.com/robolectric/robolectric/pull/9582
- Support ShadowSpeechRecognizer on Android V https://github.com/robolectric/robolectric/pull/9581
- Remove looseSignatures in ShadowNativeThreadedRenderer https://github.com/robolectric/robolectric/pull/9583
- Remove generics from ClassName annotation values by @hoisie in https://github.com/robolectric/robolectric/pull/9585
- Make-fields-of-ShadowAccessibilityManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9554
- Extend ShadowStatsManager with addConfig and removeConfig https://github.com/robolectric/robolectric/pull/9587
- Bump org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.8.1 to 1.9.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9588
- Make-fields-of-ShadowStatusBarManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9586
- Add proxy implementations for new android V services. https://github.com/robolectric/robolectric/pull/9590
- Prepare for CameraManager#openCameraDeviceUserAsync signature change in android. https://github.com/robolectric/robolectric/pull/9592
- Revert all minSdk W shadow methods to V. https://github.com/robolectric/robolectric/pull/9594
- Add support for additional flags parameter in the notifyChange method for ShadowContentResolver. https://github.com/robolectric/robolectric/pull/9597
- Support static references to Choreographer.getInstance. https://github.com/robolectric/robolectric/pull/9135
- Update some APIs to Use real types in ShadowNotificationManager https://github.com/robolectric/robolectric/pull/9598
- Make-fields-of-ShadowUserManager-static-for-context-level-instance by @Devashishbasu in https://github.com/robolectric/robolectric/pull/9488
- Fix code scanning alert #9: Arbitrary file access during archive extraction ("Zip Slip") by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9600
- Fix ClassNotFoundException when initializing Choreographer reflector https://github.com/robolectric/robolectric/pull/9602
- Test merge by @hoisie in https://github.com/robolectric/robolectric/pull/9601
- Fix resetting the AppOpsManager OnOpNotedCallback by @hoisie in https://github.com/robolectric/robolectric/pull/9608
- Use `SuppressWarnings("robolectric.ShadowReturnTypeMismatch") in ShadowParcel by @hoisie in https://github.com/robolectric/robolectric/pull/9609
- Fix default value regression of ShadowNotificationManager.importance by @hoisie in https://github.com/robolectric/robolectric/pull/9610
- Fix ShadowConnectivityManager defaults after reset by @hoisie in https://github.com/robolectric/robolectric/pull/9607
- Make protected fields as private for ShadowCompanionDeviceManager by @utzcoz in https://github.com/robolectric/robolectric/pull/9596
- Add missing
@Resetterannotation in ShadowColorDisplayManager by @hoisie in https://github.com/robolectric/robolectric/pull/9613 - Stop shadowing the ColorDisplayManager constructor https://github.com/robolectric/robolectric/pull/9614
- Fix package name in integration_tests/multidex manifest by @hoisie in https://github.com/robolectric/robolectric/pull/9615
- Delete ShadowAnimationUtils. https://github.com/robolectric/robolectric/pull/9584
- Fix a potential NPE in ShadowAccessibilityManager resetter by @hoisie in https://github.com/robolectric/robolectric/pull/9618
- Initialize UserManager state during the ShadowUserManager static initializer by @hoisie in https://github.com/robolectric/robolectric/pull/9617
- Fix an NPE in ShadowConnectivityManager by @hoisie in https://github.com/robolectric/robolectric/pull/9619
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.45 to 8.13.46 by @dependabot in https://github.com/robolectric/robolectric/pull/9620
- Disallow null when calling ShadowAccessibilityManager.setEnabledAccessibilityServiceList https://github.com/robolectric/robolectric/pull/9623
- Fix ShadowAccessibilityManager tests by @hoisie in https://github.com/robolectric/robolectric/pull/9625
- Revert recent ShadowUserManager Context changes by @hoisie in https://github.com/robolectric/robolectric/pull/9624
- Bump android-gradle from 8.6.0 to 8.6.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9621
- Bump com.android.tools:common from 31.6.0 to 31.6.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9622
- Update to Gradle 8.10.2 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9626
- Deprecate looseSignatures and remove last remaining uses https://github.com/robolectric/robolectric/pull/9627
- Reimplement Os.pread using channels and improve fidelity. https://github.com/robolectric/robolectric/pull/9631
- Add methods to set SOC_MANUFACTURER and SOC_MODEL in ShadowBuild. https://github.com/robolectric/robolectric/pull/9632
- Stop referencing AndroidVersions.W in shadows. https://github.com/robolectric/robolectric/pull/9639
- Ensure that
queryOverriddenIntentsreturns new copy (same like on device) and add tests for the same. https://github.com/robolectric/robolectric/pull/9640 - Ensure all OsConstants fields have valid values. https://github.com/robolectric/robolectric/pull/9641
- Fix FileDescriptor setFdInt. https://github.com/robolectric/robolectric/pull/9642
- Add caching to native apk assets. https://github.com/robolectric/robolectric/pull/9644
- Add Credential Manager service to ShadowServiceManager https://github.com/robolectric/robolectric/pull/9646
- Update to
google-java-format1.24.0 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9648 - Bump roborazzi from 1.26.0 to 1.28.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9651
- Implement pending update APIs in ShadowDevicePolicyManager https://github.com/robolectric/robolectric/pull/9654
- Bump android-gradle from 8.6.1 to 8.7.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9652
- Bump com.android.tools:common from 31.6.1 to 31.7.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9650
- Bump asm from 9.7 to 9.7.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9653
- Bump the androidx group with 2 updates by @dependabot in https://github.com/robolectric/robolectric/pull/9649
- Migrate Robolectric.setupActivity to Robolectric.buildActivity by @utzcoz in https://github.com/robolectric/robolectric/pull/9616
- Upgrade to Guava 33.3.1 by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9634
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.46 to 8.13.47 by @dependabot in https://github.com/robolectric/robolectric/pull/9656
- Bump net.ltgt.errorprone from 3.1.0 to 4.0.1 by @dependabot in https://github.com/robolectric/robolectric/pull/9657
- Create a Dependabot group for AGP by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9658
- Fix warnings in
annotationsby @MGaetan89 in https://github.com/robolectric/robolectric/pull/9633 - Bump error-prone from 2.19.1 to 2.33.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9655
- Do not calculate determineTargetClass when the cache is available by @takahirom in https://github.com/robolectric/robolectric/pull/9661
- Add shadow for new UsageStatsManager#queryEvents(UsageEventsQuery) https://github.com/robolectric/robolectric/pull/9664
- Revert of "Implement ShadowBluetoothLeBroadcast" https://github.com/robolectric/robolectric/pull/9668
- Adapt to changed BackMotionEvent constructor. https://github.com/robolectric/robolectric/pull/9667
- Add a correctly spelled 'Supersedes' annotation for PluginFinder https://github.com/robolectric/robolectric/pull/9674
- Bump roborazzi from 1.28.0 to 1.29.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9676
- Add setLinkUpstreamBandwidthKbps to ShadowNetworkCapabilities. https://github.com/robolectric/robolectric/pull/9673
- Bump kotlin from 2.0.20 to 2.0.21 by @dependabot in https://github.com/robolectric/robolectric/pull/9675
- Add methods to set ODM_SKU in ShadowBuild. https://github.com/robolectric/robolectric/pull/9678
- Add AudioAttributes impl to ShadowMediaPlayer https://github.com/robolectric/robolectric/pull/9679
- Add RobolectricTestParameterInjector https://github.com/robolectric/robolectric/pull/9681
- Add a no-op ProtoLogConfigurationService to Robolectric's ShadowServiceManager https://github.com/robolectric/robolectric/pull/9682
- Remove obsolete Robolectric TimeUtils https://github.com/robolectric/robolectric/pull/9685
- Add sdkcompat test for Shadows.shadowOf(appilcation) by @utzcoz in https://github.com/robolectric/robolectric/pull/9687
- Add section about the development model to README.md by @hoisie in https://github.com/robolectric/robolectric/pull/9606
- Update the
Development modelby @MGaetan89 in https://github.com/robolectric/robolectric/pull/9689 - gradle: Bump Spotless to 7.0.0.BETA3 by @utzcoz in https://github.com/robolectric/robolectric/pull/9688
- Migrate the architecture documentation to the website by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9690
- Bump androidx.annotation:annotation from 1.8.2 to 1.9.0 in the androidx group by @dependabot in https://github.com/robolectric/robolectric/pull/9693
- Bump error-prone from 2.33.0 to 2.34.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9694
- Bump net.ltgt.errorprone from 4.0.1 to 4.1.0 by @dependabot in https://github.com/robolectric/robolectric/pull/9696
- Bump com.googlecode.libphonenumber:libphonenumber from 8.13.47 to 8.13.48 by @dependabot in https://github.com/robolectric/robolectric/pull/9698
- Fix Dependabot config for AGP by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9697
- Bump the android-gradle-plugin group across 1 directory with 3 updates by @dependabot in https://github.com/robolectric/robolectric/pull/9699
- Update AndroidVersions.W to AndroidVersions.Baklava. https://github.com/robolectric/robolectric/pull/9702
- Disable commit body check for Dependabot by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9701
- Add a shim method PathIterator.nNextHost https://github.com/robolectric/robolectric/pull/9704
- Adjust to modified BackMotionEvent constructor in in-development SDK. https://github.com/robolectric/robolectric/pull/9705
- Update contribution guide by @MGaetan89 in https://github.com/robolectric/robolectric/pull/9574
- Bump the preinstrumented version to 7 https://github.com/robolectric/robolectric/pull/9710
- Allow access to jdk.internal.access for Robolectric's tests https://github.com/robolectric/robolectric/pull/9711
- Remove SimpleFuture from Robolectric's utils https://github.com/robolectric/robolectric/pull/9714
- Fix RobolectricTestParameterInjectorTest in Gradle https://github.com/robolectric/robolectric/pull/9716
- Move RobolectricTestParameterInjectorTest to integration_tests/testparameterinjector by @hoisie in https://github.com/robolectric/robolectric/pull/9717
- Add support for Android V by @hoisie in https://github.com/robolectric/robolectric/pull/9662
Full Changelog: https://github.com/robolectric/robolectric/compare/robolectric-4.13...robolectric-4.14