Package 

Interface ViewAssertionWatcherInterceptor

    • Method Summary

      Modifier and Type Method Description
      abstract Unit intercept(ViewAssertion viewAssertion, View view, NoMatchingViewException exception) Called to do some stuff before androidx.test.espresso.ViewAssertion.check is actually called.
      • 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
    • Method Detail

      • intercept

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

        Called to do some stuff before androidx.test.espresso.ViewAssertion.check is actually called.

        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.