public static final class

DataInteraction.DisplayDataMatcher

extends
java.lang.Object
   ↳
     ↳ androidx.test.espresso.DataInteraction.DisplayDataMatcher

Class Overview

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 DataInteraction.DisplayDataMatcher.
boolean matchesSafely(View view)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void describeTo (Description description)

Parameters
description Description

public static 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

public boolean matchesSafely (View view)

Parameters
view View
Returns
boolean