DataInteraction.DisplayDataMatcher
Kotlin
|Java
public
static
final
class
DataInteraction.DisplayDataMatcher
extends
java.lang.Object | ||
↳ | ||
↳ | androidx.test.espresso.DataInteraction.DisplayDataMatcher |
Internal matcher that is required for onData(Matcher)
.
This matcher is only visible to support proto serialization. Do not use this matcher in any Espresso test code!
Summary
Public methods | |
---|---|
void
|
describeTo(Description description)
|
static
DataInteraction.DisplayDataMatcher
|
displayDataMatcher(Matcher<View> adapterMatcher, Matcher<? extends Object> dataMatcher, Matcher<Root> rootMatcher, EspressoOptional<Integer> atPosition, AdapterViewProtocol adapterViewProtocol)
Returns an instance of |
boolean
|
matchesSafely(View view)
|
Inherited methods | |
---|---|
![]()
java.lang.Object
|
Public methods
describeTo
void describeTo (Description description)
Parameters | |
---|---|
description |
Description |
displayDataMatcher
DataInteraction.DisplayDataMatcher displayDataMatcher (Matcher<View> adapterMatcher, Matcher<? extends Object> dataMatcher, Matcher<Root> rootMatcher, EspressoOptional<Integer> atPosition, AdapterViewProtocol adapterViewProtocol)
Returns an instance of DataInteraction.DisplayDataMatcher
.
Note: This is an internal method, do not call from test code!
Parameters | |
---|---|
adapterMatcher |
Matcher : matcher that matches an AdapterView |
dataMatcher |
Matcher : the data matcher for matching a View by it's adapter data |
rootMatcher |
Matcher |
atPosition |
EspressoOptional |
adapterViewProtocol |
AdapterViewProtocol : the AdapterViewProtocol used for this data interaction
|
Returns | |
---|---|
DataInteraction.DisplayDataMatcher |
Interfaces
Classes
Exceptions