public final class RootMatchers
extends java.lang.Object
Root
objects.Modifier and Type | Field and Description |
---|---|
static |
DEFAULT
Espresso's default
Root matcher. |
Modifier and Type | Method and Description |
---|---|
static |
isDialog()
Matches
Root s that are dialogs (i.e. |
static |
isFocusable()
Matches
Root s that can take window focus. |
static |
isTouchable()
Matches
Root s that can receive touch events. |
static |
withDecorView(
Matches
Root s with decor views that match the given view matcher. |
public static finalDEFAULT
Root
matcher.public staticisFocusable()
Root
s that can take window focus.public staticisTouchable()
Root
s that can receive touch events.public staticisDialog()
Root
s that are dialogs (i.e. is not a window of the currently resumed
activity).public staticwithDecorView( decorViewMatcher)
Root
s with decor views that match the given view matcher.