Package org.robolectric.android
Class DeviceConfig
java.lang.Object
org.robolectric.android.DeviceConfig
public class DeviceConfig extends Object
Supports device configuration for Robolectric tests.
- See Also:
- Device Configuration
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeviceConfig.ScreenSize
Standard sizes for the screen size qualifier. -
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DENSITY
static DeviceConfig.ScreenSize
DEFAULT_SCREEN_SIZE
-
Method Summary
Modifier and Type Method Description static DeviceConfig.ScreenSize
getScreenSize(Configuration configuration)
-
Field Details
-
DEFAULT_DENSITY
public static final int DEFAULT_DENSITY- See Also:
- Constant Field Values
-
DEFAULT_SCREEN_SIZE
-
-
Method Details