Robolectric 4.8 #7275
JuliaSullivanGoogle
announced in
Announcements
Robolectric 4.8
#7275
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Robolectric 4.8 adds support for Android S V2 (API level 32). It also contains many bug fixes and API enhancements.
What's Changed
ShadowVibrator#addSupportedPrimitivesto enable in 1. AddsShadowVibrator#addSupportedPrimitivesto enable #6907windowConfigurationbounds when updating the display metrics in Update thewindowConfigurationbounds when updating the display metrics #6922VibrationAttributesinShadowVibratorand exposes a gettergetVibrationAttributesFromLastVibrationto get VibrationAttributes for the last vibration. in 1. StoresVibrationAttributesinShadowVibratorand exposes a gettergetVibrationAttributesFromLastVibrationto get VibrationAttributes for the last vibration. #7018ShadowWindowManagerGlobal#getLastDragClipDatamethod in AddShadowWindowManagerGlobal#getLastDragClipDatamethod #7019ShadowPausedSystemClockthread safe in Make theShadowPausedSystemClockthread safe #7083robolectric.rendernode.enableMatrixflag in Removerobolectric.rendernode.enableMatrixflag #7099getTotalSize,setTotalSize,getBytesSoFarandsetBytesSoFarfor DownloadManager.Request in ShadowDownloadManager. in AddgetTotalSize,setTotalSize,getBytesSoFarandsetBytesSoFarfor DownloadManager.Request in ShadowDownloadManager. #7104nCreateTextureLayertoShadowHardwareRendererin AddnCreateTextureLayertoShadowHardwareRenderer#7106ColorSpacetoShadowBitmapin Add support forColorSpacetoShadowBitmap#7134@Test(expected = ...)toassertThrows(...). in Migrate from strongly discouraged@Test(expected = ...)toassertThrows(...). #7143ShadowCanvasin Add support for save/restore inShadowCanvas#7146New Contributors
Full Changelog: robolectric-4.7.3...robolectric-4.8
Use Robolectric:
testCompile "org.robolectric:robolectric:4.8"This discussion was created from the release Robolectric 4.8.
Beta Was this translation helpful? Give feedback.
All reactions