@Retention(value = AnnotationRetention.RUNTIME)
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION])
@Repeatable(value = RequiresDeviceModes)
@CustomFilter(filterClass = RequiresDeviceModeFilter)
annotation RequiresDeviceMode


Indicates that a specific test should not be run on a device that does not support the provided device mode.

This annotation is repeatable. It will be executed only if the test is running on a foldable device that can be set to the all of the provided device modes.

Summary

Public constructors

Public properties

DeviceMode

Public constructors

RequiresDeviceMode

RequiresDeviceMode(mode: DeviceMode)

Public properties

mode

val modeDeviceMode