public final class

DataInteraction.DisplayDataMatcher

extends <any>

 java.lang.Object

↳<any>

↳androidx.test.espresso.DataInteraction.DisplayDataMatcher

Overview

Internal matcher that is required for Espresso.

This matcher is only visible to support proto serialization. Do not use this matcher in any Espresso test code!

Summary

Methods
public voiddescribeTo(Description description)

public static DataInteraction.DisplayDataMatcherdisplayDataMatcher(<any> adapterMatcher, <any> dataMatcher, <any> rootMatcher, EspressoOptional<java.lang.Integer> atPosition, AdapterViewProtocol adapterViewProtocol)

Returns an instance of DataInteraction.DisplayDataMatcher.

public static DataInteraction.DisplayDataMatcherdisplayDataMatcher(<any> adapterMatcher, <any> dataMatcher, <any> rootMatcher, java.lang.Integer atPosition, AdapterViewProtocol adapterViewProtocol)

Returns an instance of DataInteraction.DisplayDataMatcher.

public booleanmatchesSafely(View view)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static DataInteraction.DisplayDataMatcher displayDataMatcher(<any> adapterMatcher, <any> dataMatcher, <any> rootMatcher, EspressoOptional<java.lang.Integer> atPosition, AdapterViewProtocol adapterViewProtocol)

Deprecated: use DataInteraction.DisplayDataMatcher instead.

Returns an instance of DataInteraction.DisplayDataMatcher.

Note: This is an internal method, do not call from test code!

Parameters:

adapterMatcher: matcher that matches an AdapterView
dataMatcher: the data matcher for matching a View by it's adapter data
rootMatcher: matcher for view's root
atPosition: optional position of the view to match
adapterViewProtocol: the AdapterViewProtocol used for this data interaction

public static DataInteraction.DisplayDataMatcher displayDataMatcher(<any> adapterMatcher, <any> dataMatcher, <any> rootMatcher, java.lang.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 that matches an AdapterView
dataMatcher: the data matcher for matching a View by it's adapter data
rootMatcher: matcher for view's root
atPosition: optional zero-based position of the data to be matched
adapterViewProtocol: the AdapterViewProtocol used for this data interaction

public void describeTo(Description description)

public boolean matchesSafely(View view)