Package 

Class DataAssertionProxy

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

    
    public final class DataAssertionProxy
     implements ViewAssertion
                        

    The proxy-wrapper of ViewAssertion for watcher interceptors calls.

    • Method Summary

      Modifier and Type Method Description
      Unit check(View view, NoMatchingViewException noViewFoundException) Calls watcher interceptors before ViewAssertion.check on wrapped viewAssertion is called.
      • Methods inherited from class androidx.test.espresso.ViewAssertion

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

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

      • check

         Unit check(View view, NoMatchingViewException noViewFoundException)

        Calls watcher interceptors before ViewAssertion.check on wrapped viewAssertion is called.

        Parameters:
        view - the view, if one was found during the view interaction or null if it was not (which may be an acceptable option for an assertion).
        noViewFoundException - an exception detailing why the view could not be found or null if the view was found.