# androidx.test.espresso

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/EspressoException` | Used for identifying an exception as coming from the `https://developer.android.com/reference/androidx/test/espresso/Espresso` framework. |
| `https://developer.android.com/reference/androidx/test/espresso/FailureHandler` | Handles failures that happen during test execution. |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingResource` | Represents a resource of an application under test which can cause asynchronous background work to happen during test execution (e.g. an intent service that processes a button click). |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingResource.ResourceCallback` | Registered by an `https://developer.android.com/reference/androidx/test/espresso/IdlingResource` to notify Espresso of a transition to idle. |
| `https://developer.android.com/reference/androidx/test/espresso/RootViewException` | An `https://developer.android.com/reference/androidx/test/espresso/EspressoException` that can provide a Root View. |
| `https://developer.android.com/reference/androidx/test/espresso/UiController` | Provides base-level UI operations (such as injection of `https://developer.android.com/reference/android/view/MotionEvent.html`s) that can be used to build user actions such as clicks, scrolls, swipes, etc. |
| `https://developer.android.com/reference/androidx/test/espresso/ViewAction` | Responsible for performing an interaction on the given View element. |
| `https://developer.android.com/reference/androidx/test/espresso/ViewAssertion` | Responsible for performing assertions on a View element. |
| `https://developer.android.com/reference/androidx/test/espresso/ViewFinder` | Uses matchers to locate particular views within the view hierarchy. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/AmbiguousViewMatcherException.Builder` | Builder for `https://developer.android.com/reference/androidx/test/espresso/AmbiguousViewMatcherException`. |
| `https://developer.android.com/reference/androidx/test/espresso/DataInteraction` | An interface to interact with data displayed in AdapterViews. |
| `https://developer.android.com/reference/androidx/test/espresso/DataInteraction.DisplayDataMatcher` | Internal matcher that is required for `https://developer.android.com/reference/androidx/test/espresso/Espresso#onData(org.hamcrest.Matcher<? extends java.lang.Object>)`. |
| `https://developer.android.com/reference/androidx/test/espresso/Espresso` | Entry point to the Espresso framework. |
| `https://developer.android.com/reference/androidx/test/espresso/GraphHolder` | Holds Espresso's object graph. |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingPolicies` | Allows users fine grain control over idling policies. |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingPolicy` | Allows users to control idling idleTimeouts in Espresso. |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingRegistry` | Handles registering and unregistering of `https://developer.android.com/reference/androidx/test/espresso/IdlingResource`s with Espresso from within your application code. |
| `https://developer.android.com/reference/androidx/test/espresso/NoMatchingViewException.Builder` | Builder for `https://developer.android.com/reference/androidx/test/espresso/NoMatchingViewException`. |
| `https://developer.android.com/reference/androidx/test/espresso/PerformException.Builder` | Builder for `https://developer.android.com/reference/androidx/test/espresso/PerformException`. |
| `https://developer.android.com/reference/androidx/test/espresso/Root` | Represents a root view in the application and optionally the layout params of the window holding it. |
| `https://developer.android.com/reference/androidx/test/espresso/Root.Builder` |   |
| `https://developer.android.com/reference/androidx/test/espresso/ViewInteraction` | Provides the primary interface for test authors to perform actions or asserts on views. |

## Exceptions

|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/AmbiguousViewMatcherException` | An exception which indicates that a `Matcher<View>` matched multiple views in the hierarchy when only one view was expected. |
| `https://developer.android.com/reference/androidx/test/espresso/AppNotIdleException` | An exception which indicates that the App has not become idle even after the specified duration. |
| `https://developer.android.com/reference/androidx/test/espresso/IdlingResourceTimeoutException` | Indicates that an `https://developer.android.com/reference/androidx/test/espresso/IdlingResource`, which has been registered with the framework, has not idled within the allowed time. |
| `https://developer.android.com/reference/androidx/test/espresso/InjectEventSecurityException` | An checked `https://developer.android.com/reference/java/lang/Exception.html` indicating that event injection failed with a `https://developer.android.com/reference/java/lang/SecurityException.html`. |
| `https://developer.android.com/reference/androidx/test/espresso/NoActivityResumedException` | An exception which indicates that there are no activities in stage RESUMED. |
| `https://developer.android.com/reference/androidx/test/espresso/NoMatchingRootException` | Indicates that a given matcher did not match any `https://developer.android.com/reference/androidx/test/espresso/Root`s (windows) from those that are currently available. |
| `https://developer.android.com/reference/androidx/test/espresso/NoMatchingViewException` | Indicates that a given matcher did not match any elements in the view hierarchy. |
| `https://developer.android.com/reference/androidx/test/espresso/PerformException` | Indicates that an exception occurred while performing a ViewAction on the UI thread. |