Package 

Class ViewActionProxy

  • All Implemented Interfaces:
    androidx.test.espresso.ViewAction

    
    public final class ViewActionProxy
     implements ViewAction
                        

    The proxy-wrapper of ViewAction for watcher interceptors calls.

    • Method Summary

      Modifier and Type Method Description
      String getDescription() Simply calls ViewAction.getDescription on wrapped viewAction.
      Matcher<View> getConstraints() Simply calls ViewAction.getConstraints on wrapped viewAction.
      Unit perform(UiController uiController, View view) Calls watcher interceptors before ViewAction.perform on wrapped viewAction is called.
      • Methods inherited from class androidx.test.espresso.ViewAction

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

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

      • getDescription

         String getDescription()

        Simply calls ViewAction.getDescription on wrapped viewAction.

      • getConstraints

         Matcher<View> getConstraints()

        Simply calls ViewAction.getConstraints on wrapped viewAction.

      • perform

         Unit perform(UiController uiController, View view)

        Calls watcher interceptors before ViewAction.perform on wrapped viewAction is called.

        Parameters:
        uiController - the controller to use to interact with the UI.
        view - the view to act upon.