{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class DataInteraction.DisplayDataMatcher : TypeSafeMatcher
| kotlin.Any | |||
| ↳ | 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 functions |
|
|---|---|
Unit |
describeTo(description: Description!) |
java-static DataInteraction.DisplayDataMatcher! |
displayDataMatcher(Returns an instance of |
Boolean |
matchesSafely(view: View!) |
Inherited functions |
||||||
|---|---|---|---|---|---|---|
|
||||||
java-static fun displayDataMatcher(
adapterMatcher: Matcher<View!>,
dataMatcher: Matcher<Any!>,
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 |
dataMatcher: Matcher<Any!> |
the data matcher for matching a |
adapterViewProtocol: AdapterViewProtocol |
the |