NoMatchingViewException.Builder


public class NoMatchingViewException.Builder


Builder for NoMatchingViewException.

Summary

Public constructors

Public constructors

Builder

public Builder()

Public methods

build

public NoMatchingViewException build()

includeViewHierarchy

public NoMatchingViewException.Builder includeViewHierarchy(boolean includeViewHierarchy)

withAdapterViewWarning

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

withAdapterViewWarning

@CanIgnoreReturnValue
public NoMatchingViewException.Builder withAdapterViewWarning(String adapterViewWarning)

withAdapterViews

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

withMaxMsgLen

public @NonNull NoMatchingViewException.Builder withMaxMsgLen(int maxMsgLen)

withRootView

public NoMatchingViewException.Builder withRootView(View rootView)

withViewHierarchyFile

public @NonNull NoMatchingViewException.Builder withViewHierarchyFile(@Nullable String viewHierarchyFile)

withViewMatcher

public NoMatchingViewException.Builder withViewMatcher(Matcher<View> viewMatcher)