Package org.robolectric.android
Class DeviceConfig
java.lang.Object
org.robolectric.android.DeviceConfig
Supports device configuration for Robolectric tests.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Standard sizes for the screen size qualifier. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceConfig.ScreenSize
getScreenSize
(Configuration configuration)
-
Field Details
-
DEFAULT_DENSITY
public static final int DEFAULT_DENSITY- See Also:
-
DEFAULT_SCREEN_SIZE
-
-
Method Details
-
getScreenSize
-