public interface ViewFinder
android.support.test.espresso.ViewFinder |
Known Indirect Subclasses |
使用匹配器来查找视图层次结构中的特定视图。
Public methods |
|
---|---|
abstract View |
getView() 立即在提供的视图层次结构中查找单个视图。 |
View getView ()
立即在提供的视图层次结构中查找单个视图。 如果多个视图匹配,或者没有视图匹配,则引发适当的异常。
Returns | |
---|---|
View |
A singular view which matches the matcher we were constructed with. |
Throws | |
---|---|
AmbiguousViewMatcherException |
when multiple views match |
NoMatchingViewException |
when no views match. |