Package 

Class LoggingViewAssertionWatcherInterceptor

    • Method Summary

      Modifier and Type Method Description
      Unit intercept(ViewAssertion viewAssertion, View view, NoMatchingViewException exception) Writes info to logger.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.watcher.view.ViewAssertionWatcherInterceptor

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoggingViewAssertionWatcherInterceptor

        LoggingViewAssertionWatcherInterceptor(UiTestLogger logger)
    • Method Detail

      • intercept

         Unit intercept(ViewAssertion viewAssertion, View view, NoMatchingViewException exception)

        Writes info to logger.

        Parameters:
        viewAssertion - responsible for performing assertions on a View element.
        view - an Android View, on which viewAssertion is performed.
        exception - indicates that a given matcher did not match any elements in the view hierarchy.