| Class and Description |
|---|
| org.robolectric.util.AccessibilityUtil
Use
AccessibilityUtil instead. |
| org.robolectric.util.concurrent.RoboExecutorService
Use
RoboExecutorService instead. |
| org.robolectric.shadows.ShadowConfiguration
This will be removed in Robolectric 3.4 -
Configuration is pure Java so there is no need for a
shadow to exist. The methods have been preserved but marked deprecated to prevent build breakages but in this
version implementation has been modified to simply call through to the Framework code which may in some cases cause
test failures due to the way the shadow diverged in behaviour from the Framework code. Some notes have been added
to help you migrate in these cases.
Some notes to help you migrate:-
|
| org.robolectric.shadows.ShadowHandler
There is no special shadow implementation for the
Handler class. The special
handling is all done by ShadowLooper and ShadowMessageQueue. This class has been retained
for backward compatibility with the various static method implementations. |
| org.robolectric.android.StubPackageManager
Use
ShadowPackageManager instead.
ShadowPackageManager shadowPackageManager = shadowOf(context.getPackageManager());If there is functionality you are missing you can extend ShadowPackageManager. |
| org.robolectric.res.builder.XmlResourceParserImpl
Use
XmlResourceParserImpl instead. |