NoMatchingViewException.Builder

public static class NoMatchingViewException.Builder
extends Object

java.lang.Object
   ↳ android.support.test.espresso.NoMatchingViewException.Builder


Builder for NoMatchingViewException.

Summary

Public constructors

NoMatchingViewException.Builder()

Public methods

NoMatchingViewException build()
NoMatchingViewException.Builder from(NoMatchingViewException exception)
NoMatchingViewException.Builder includeViewHierarchy(boolean includeViewHierarchy)
NoMatchingViewException.Builder withAdapterViewWarning(EspressoOptional<String> adapterViewWarning)
NoMatchingViewException.Builder withAdapterViews(List<View> adapterViews)
NoMatchingViewException.Builder withRootView(View rootView)
NoMatchingViewException.Builder withViewMatcher(Matcher<? super View> viewMatcher)

Inherited methods

From class java.lang.Object

Public constructors

NoMatchingViewException.Builder

NoMatchingViewException.Builder ()

Public methods

from

NoMatchingViewException.Builder from (NoMatchingViewException exception)

Parameters
exception NoMatchingViewException

Returns
NoMatchingViewException.Builder

includeViewHierarchy

NoMatchingViewException.Builder includeViewHierarchy (boolean includeViewHierarchy)

Parameters
includeViewHierarchy boolean

Returns
NoMatchingViewException.Builder

withAdapterViewWarning

NoMatchingViewException.Builder withAdapterViewWarning (EspressoOptional<String> adapterViewWarning)

Parameters
adapterViewWarning EspressoOptional

Returns
NoMatchingViewException.Builder

withAdapterViews

NoMatchingViewException.Builder withAdapterViews (List<View> adapterViews)

Parameters
adapterViews List

Returns
NoMatchingViewException.Builder

withRootView

NoMatchingViewException.Builder withRootView (View rootView)

Parameters
rootView View

Returns
NoMatchingViewException.Builder

withViewMatcher

NoMatchingViewException.Builder withViewMatcher (Matcher<? super View> viewMatcher)

Parameters
viewMatcher Matcher

Returns
NoMatchingViewException.Builder