{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class DataInteraction.DisplayDataMatcher
Internal matcher that is required for Espresso#onData(Matcher).
This matcher is only visible to support proto serialization. Do not use this matcher in any Espresso test code!
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
Unit |
describeTo(description: Description!) |
java-static DataInteraction.DisplayDataMatcher! |
displayDataMatcher(Returns an instance of |
Boolean |
matchesSafely(view: View!) |
java-static fun displayDataMatcher(
adapterMatcher: Matcher<View>!,
dataMatcher: Matcher<?>!,
rootMatcher: Matcher<Root>!,
atPosition: EspressoOptional<Int!>!,
adapterViewProtocol: AdapterViewProtocol!
): DataInteraction.DisplayDataMatcher!
Returns an instance of DisplayDataMatcher.
Note: This is an internal method, do not call from test code!
| Parameters | |
|---|---|
adapterMatcher: Matcher<View>! |
matcher that matches an AdapterView |
dataMatcher: Matcher<?>! |
the data matcher for matching a View by it's adapter data |
adapterViewProtocol: AdapterViewProtocol! |
the |