-
- All Implemented Interfaces:
-
androidx.test.espresso.ViewAssertion
public final class ViewAssertionProxy implements ViewAssertionThe proxy-wrapper of ViewAssertion for watcher interceptors calls.
-
-
Constructor Summary
Constructors Constructor Description ViewAssertionProxy(ViewAssertion viewAssertion, List<ViewAssertionWatcherInterceptor> watcherInterceptors)
-
Method Summary
-
-
Constructor Detail
-
ViewAssertionProxy
ViewAssertionProxy(ViewAssertion viewAssertion, List<ViewAssertionWatcherInterceptor> watcherInterceptors)
-
-
Method Detail
-
check
Unit check(View view, NoMatchingViewException noViewFoundException)
Calls watcher interceptors before ViewAssertion.check on wrapped viewAssertion is called.
- Parameters:
view- the view, if one was found during the view interaction or null if it was not (which may be an acceptable option for an assertion).noViewFoundException- an exception detailing why the view could not be found or null if the view was found.
-
-
-
-