{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class DataInteraction.DisplayDataMatcher extends TypeSafeMatcher
| java.lang.Object | |||
| ↳ | org.hamcrest.BaseMatcher | ||
| ↳ | org.hamcrest.TypeSafeMatcher | ||
| ↳ | androidx.test.espresso.DataInteraction.DisplayDataMatcher | ||
Internal matcher that is required for onData.
This matcher is only visible to support proto serialization. Do not use this matcher in any Espresso test code!
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
void |
describeTo(Description description) |
static DataInteraction.DisplayDataMatcher |
displayDataMatcher(Returns an instance of |
boolean |
matchesSafely(View view) |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
||||||
public static DataInteraction.DisplayDataMatcher displayDataMatcher(
@NonNull Matcher<View> adapterMatcher,
@NonNull Matcher<Object> dataMatcher,
@NonNull Matcher<Root> rootMatcher,
EspressoOptional<Integer> atPosition,
@NonNull AdapterViewProtocol adapterViewProtocol
)
Returns an instance of DisplayDataMatcher.
Note: This is an internal method, do not call from test code!
| Parameters | |
|---|---|
@NonNull Matcher<View> adapterMatcher |
matcher that matches an |
@NonNull Matcher<Object> dataMatcher |
the data matcher for matching a |
@NonNull AdapterViewProtocol adapterViewProtocol |
the |