-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.interceptors.watcher.view.WebAssertionWatcherInterceptor
public final class LoggingWebAssertionWatcherInterceptor implements WebAssertionWatcherInterceptor
The implementation of WebAssertionWatcherInterceptor that logs info about androidx.test.espresso.web.assertion.WebAssertion.
-
-
Constructor Summary
Constructors Constructor Description LoggingWebAssertionWatcherInterceptor(UiTestLogger logger)
-
Method Summary
Modifier and Type Method Description Unitintercept(WebAssertionProxy<?> webAssertionProxy, WebView view, Object result)Writes info to compositeLogger. -
-
Constructor Detail
-
LoggingWebAssertionWatcherInterceptor
LoggingWebAssertionWatcherInterceptor(UiTestLogger logger)
-
-
Method Detail
-
intercept
Unit intercept(WebAssertionProxy<?> webAssertionProxy, WebView view, Object result)
Writes info to compositeLogger.
- Parameters:
webAssertionProxy- a proxy-wrapper of androidx.test.espresso.web.assertion.WebAssertion for interceptors calls.view- an Android android.view.View, on which androidx.test.espresso.web.assertion.WebAssertion is performed.result- a result of androidx.test.espresso.web.assertion.WebAssertion.
-
-
-
-