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
-
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#addSupportedPrimitives
to enable in 1. AddsShadowVibrator#addSupportedPrimitives
to enable #6907windowConfiguration
bounds when updating the display metrics in Update thewindowConfiguration
bounds when updating the display metrics #6922VibrationAttributes
inShadowVibrator
and exposes a gettergetVibrationAttributesFromLastVibration
to get VibrationAttributes for the last vibration. in 1. StoresVibrationAttributes
inShadowVibrator
and exposes a gettergetVibrationAttributesFromLastVibration
to get VibrationAttributes for the last vibration. #7018ShadowWindowManagerGlobal#getLastDragClipData
method in AddShadowWindowManagerGlobal#getLastDragClipData
method #7019ShadowPausedSystemClock
thread safe in Make theShadowPausedSystemClock
thread safe #7083robolectric.rendernode.enableMatrix
flag in Removerobolectric.rendernode.enableMatrix
flag #7099getTotalSize
,setTotalSize
,getBytesSoFar
andsetBytesSoFar
for DownloadManager.Request in ShadowDownloadManager. in AddgetTotalSize
,setTotalSize
,getBytesSoFar
andsetBytesSoFar
for DownloadManager.Request in ShadowDownloadManager. #7104nCreateTextureLayer
toShadowHardwareRenderer
in AddnCreateTextureLayer
toShadowHardwareRenderer
#7106ColorSpace
toShadowBitmap
in Add support forColorSpace
toShadowBitmap
#7134@Test(expected = ...)
toassertThrows(...)
. in Migrate from strongly discouraged@Test(expected = ...)
toassertThrows(...)
. #7143ShadowCanvas
in 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