LithoAnimationEnablerTestRule

open class LithoAnimationEnablerTestRule : TestWatcher

A test rule to be able to turn on/off Litho animations with different granularity, i.e. at class-level, test method level or at code block level.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun apply(base: Statement, description: Description): Statement
Link copied to clipboard
open fun disable()
Disable Litho animations.
Link copied to clipboard
open fun enable()
Temporarily enable Litho animations until either disable is called or test method finishes.