Robolectric 4.8 Alpha 1 #7160
hoisie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Robolectric 4.8 Alpha 1 adds support for Android S V2 (API level 32). It also contains many bug fixes and API enhancements.
This is an alpha version, so newly APIs may not be final yet.
What's Changed
ShadowVibrator#addSupportedPrimitives
to enable by @copybara-service in 1. AddsShadowVibrator#addSupportedPrimitives
to enable #6907windowConfiguration
bounds when updating the display metrics by @copybara-service in Update thewindowConfiguration
bounds when updating the display metrics #6922VibrationAttributes
inShadowVibrator
and exposes a gettergetVibrationAttributesFromLastVibration
to get VibrationAttributes for the last vibration. by @copybara-service in 1. StoresVibrationAttributes
inShadowVibrator
and exposes a gettergetVibrationAttributesFromLastVibration
to get VibrationAttributes for the last vibration. #7018ShadowWindowManagerGlobal#getLastDragClipData
method by @copybara-service in AddShadowWindowManagerGlobal#getLastDragClipData
method #7019ShadowPausedSystemClock
thread safe by @copybara-service in Make theShadowPausedSystemClock
thread safe #7083robolectric.rendernode.enableMatrix
flag by @copybara-service in Removerobolectric.rendernode.enableMatrix
flag #7099getTotalSize
,setTotalSize
,getBytesSoFar
andsetBytesSoFar
for DownloadManager.Request in ShadowDownloadManager. by @copybara-service in AddgetTotalSize
,setTotalSize
,getBytesSoFar
andsetBytesSoFar
for DownloadManager.Request in ShadowDownloadManager. #7104nCreateTextureLayer
toShadowHardwareRenderer
by @copybara-service in AddnCreateTextureLayer
toShadowHardwareRenderer
#7106ColorSpace
toShadowBitmap
by @copybara-service in Add support forColorSpace
toShadowBitmap
#7134@Test(expected = ...)
toassertThrows(...)
. by @copybara-service in Migrate from strongly discouraged@Test(expected = ...)
toassertThrows(...)
. #7143ShadowCanvas
by @copybara-service in Add support for save/restore inShadowCanvas
#7146New Contributors
Full Changelog: robolectric-4.7-alpha-2...robolectric-4.8-alpha-1
Use Robolectric:
testCompile "org.robolectric:robolectric:4.8-alpha-1"
This discussion was created from the release Robolectric 4.8 Alpha 1.
Beta Was this translation helpful? Give feedback.
All reactions