-
public final class WebAssertionProxy<E extends Object> extends WebAssertion<E>
A proxy-wrapper of WebAssertion for watcherInterceptors calls.
Uses WebViewAssertions.ResultCheckingWebAssertion class, that has package-local access in Espresso, so it has to be in the same package.
-
-
Field Summary
Fields Modifier and Type Field Description private final WebAssertion<E>webAssertionprivate final Matcher<?>matcherprivate final Atom<E>atom
-
Constructor Summary
Constructors Constructor Description WebAssertionProxy(WebAssertion<E> webAssertion, Matcher<?> matcher, List<WebAssertionWatcherInterceptor> watcherInterceptors)
-
Method Summary
Modifier and Type Method Description final WebAssertion<E>getWebAssertion()final Matcher<?>getMatcher()-
Methods inherited from class androidx.test.espresso.web.assertion.WebAssertion
equals, hashCode, toString -
Methods inherited from class androidx.test.espresso.web.assertion.WebAssertionProxy
getAtom, toViewAssertion -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WebAssertionProxy
WebAssertionProxy(WebAssertion<E> webAssertion, Matcher<?> matcher, List<WebAssertionWatcherInterceptor> watcherInterceptors)
-
-
Method Detail
-
getWebAssertion
final WebAssertion<E> getWebAssertion()
-
getMatcher
final Matcher<?> getMatcher()
-
-
-
-