public final class DisplaySizeRule implements TestRule


Test rule for restoring device to its starting display size when a test case finishes

Summary

Public constructors

Public methods

@NonNull Statement
apply(@NonNull Statement statement, @NonNull Description description)

Public constructors

DisplaySizeRule

public DisplaySizeRule()

Public methods

apply

public @NonNull Statement apply(@NonNull Statement statement, @NonNull Description description)