public class

NoMatchingViewException.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.NoMatchingViewException.Builder

Overview

Builder for NoMatchingViewException.

Summary

Constructors
publicBuilder()

Methods
public NoMatchingViewExceptionbuild()

public NoMatchingViewException.Builderfrom(NoMatchingViewException exception)

public NoMatchingViewException.BuilderincludeViewHierarchy(boolean includeViewHierarchy)

public NoMatchingViewException.BuilderwithAdapterViews(java.util.List<View> adapterViews)

public NoMatchingViewException.BuilderwithAdapterViewWarning(EspressoOptional<java.lang.String> adapterViewWarning)

public NoMatchingViewException.BuilderwithAdapterViewWarning(java.lang.String adapterViewWarning)

public NoMatchingViewException.BuilderwithCause(java.lang.Throwable cause)

public NoMatchingViewException.BuilderwithMaxMsgLen(int maxMsgLen)

public NoMatchingViewException.BuilderwithRootView(View rootView)

public NoMatchingViewException.BuilderwithViewHierarchyFile(java.lang.String viewHierarchyFile)

public NoMatchingViewException.BuilderwithViewMatcher(<any> viewMatcher)

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

Constructors

public Builder()

Methods

public NoMatchingViewException.Builder withViewMatcher(<any> viewMatcher)

public NoMatchingViewException.Builder withRootView(View rootView)

public NoMatchingViewException.Builder withAdapterViews(java.util.List<View> adapterViews)

public NoMatchingViewException.Builder includeViewHierarchy(boolean includeViewHierarchy)

public NoMatchingViewException.Builder withAdapterViewWarning(EspressoOptional<java.lang.String> adapterViewWarning)

Deprecated: use NoMatchingViewException.Builder.withAdapterViewWarning(String) instead

public NoMatchingViewException.Builder withAdapterViewWarning(java.lang.String adapterViewWarning)

public NoMatchingViewException.Builder withCause(java.lang.Throwable cause)

public NoMatchingViewException.Builder withMaxMsgLen(int maxMsgLen)

public NoMatchingViewException.Builder withViewHierarchyFile(java.lang.String viewHierarchyFile)