# android.support.test.espresso.base

# android.support.test.espresso.base

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Annotations

|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| [Default](https://developer.android.com/reference/android/support/test/espresso/base/Default)                         | Annotates a default provider.                                                                                                             |
| [MainThread](https://developer.android.com/reference/android/support/test/espresso/base/MainThread)                   | Annotates an Executor that executes tasks on the main thread                                                                              |
| [RootViewPickerScope](https://developer.android.com/reference/android/support/test/espresso/base/RootViewPickerScope) | Scope for components that use[RootViewPicker](https://developer.android.com/reference/android/support/test/espresso/base/RootViewPicker). |

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ActiveRootLister](https://developer.android.com/reference/android/support/test/espresso/base/ActiveRootLister)                   | Provides access to all root views in an application.                                                                                                                                                                                                                                                       |
| [IdlingUiController](https://developer.android.com/reference/android/support/test/espresso/base/IdlingUiController)               | Similar to[UiController](https://developer.android.com/reference/android/support/test/espresso/UiController)but with one additional method that enables getting an instance of[IdlingResourceRegistry](https://developer.android.com/reference/android/support/test/espresso/base/IdlingResourceRegistry). |
| [InterruptableUiController](https://developer.android.com/reference/android/support/test/espresso/base/InterruptableUiController) | Similar to[UiController](https://developer.android.com/reference/android/support/test/espresso/UiController)but with one additional method that enables interrupting Espresso tasks.                                                                                                                       |

## Classes

|-----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| [DefaultFailureHandler](https://developer.android.com/reference/android/support/test/espresso/base/DefaultFailureHandler)   | Espresso's default[FailureHandler](https://developer.android.com/reference/android/support/test/espresso/FailureHandler).              |
| [IdlingResourceRegistry](https://developer.android.com/reference/android/support/test/espresso/base/IdlingResourceRegistry) | Keeps track of user-registered[IdlingResources](https://developer.android.com/reference/android/support/test/espresso/IdlingResource). |
| [RootViewPicker](https://developer.android.com/reference/android/support/test/espresso/base/RootViewPicker)                 | Provides the root View of the top-most Window, with which the user can interact.                                                       |
| [ViewFinderImpl](https://developer.android.com/reference/android/support/test/espresso/base/ViewFinderImpl)                 | Implementation of[ViewFinder](https://developer.android.com/reference/android/support/test/espresso/ViewFinder).                       |

-

  ## Annotations

  - [Default](https://developer.android.com/reference/android/support/test/espresso/base/Default)
  - [MainThread](https://developer.android.com/reference/android/support/test/espresso/base/MainThread)
  - [RootViewPickerScope](https://developer.android.com/reference/android/support/test/espresso/base/RootViewPickerScope)
-

  ## Interfaces

  - [ActiveRootLister](https://developer.android.com/reference/android/support/test/espresso/base/ActiveRootLister)
  - [IdlingUiController](https://developer.android.com/reference/android/support/test/espresso/base/IdlingUiController)
  - [InterruptableUiController](https://developer.android.com/reference/android/support/test/espresso/base/InterruptableUiController)
-

  ## Classes

  - [DefaultFailureHandler](https://developer.android.com/reference/android/support/test/espresso/base/DefaultFailureHandler)
  - [IdlingResourceRegistry](https://developer.android.com/reference/android/support/test/espresso/base/IdlingResourceRegistry)
  - [RootViewPicker](https://developer.android.com/reference/android/support/test/espresso/base/RootViewPicker)
  - [ViewFinderImpl](https://developer.android.com/reference/android/support/test/espresso/base/ViewFinderImpl)