# androidx.test.espresso.device.rules

*** ** * ** ***

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/device/rules/DisplaySizeRule` | Test rule for restoring device to its starting display size when a test case finishes |
| `https://developer.android.com/reference/androidx/test/espresso/device/rules/ScreenOrientationRule` | Restores the screen orientation when a test case finishes. |
| `https://developer.android.com/reference/androidx/test/espresso/device/rules/SkipUnsupportedDeviceActionsRule` | Rule for skipping tests when a device action is called on an unsupported device. |