ViewFinderImpl

public final class ViewFinderImpl
extends Object implements ViewFinder

java.lang.Object
   ↳ android.support.test.espresso.base.ViewFinderImpl


执行 ViewFinder

Summary

Public methods

View getView()

立即在提供的视图层次结构中查找单个视图。

Inherited methods

From class java.lang.Object
From interface android.support.test.espresso.ViewFinder

Public methods

getView

View getView ()

立即在提供的视图层次结构中查找单个视图。 如果多个视图匹配,或者没有视图匹配,则引发适当的异常。

Returns
View A singular view which matches the matcher we were constructed with.
Throws
AmbiguousViewMatcherException
NoMatchingViewException