# android.support.test.espresso.intent

# android.support.test.espresso.intent

| 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).

## Interfaces

|-------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ActivityResultFunction](https://developer.android.com/reference/android/support/test/espresso/intent/ActivityResultFunction) | Function that returns an[Instrumentation.ActivityResult](https://developer.android.com/reference/android/app/Instrumentation.ActivityResult.html), to be called by[ERROR(/ResettingStubberImpl#getActivityResultFunctionForIntent)](https://developer.android.com/). |
| [ResettingStubber](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubber)             | A sneaky singleton object used to respond to intents with fake responses.                                                                                                                                                                                            |
| [ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)                 | An[Intent](https://developer.android.com/reference/android/content/Intent.html)that has been processed to determine the set of packages to which it resolves.                                                                                                        |
| [VerifiableIntent](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent)             | A[ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)that can be marked as verified.                                                                                                                        |
| [VerificationMode](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationMode)             | An interface for different modes of verifying intents.                                                                                                                                                                                                               |

## Classes

|---------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| [Checks](https://developer.android.com/reference/android/support/test/espresso/intent/Checks)                             | Substitute for Guava Preconditions to avoid guava as a dep.                                                                          |
| [Intents](https://developer.android.com/reference/android/support/test/espresso/intent/Intents)                           | Intents enables validation and stubbing of intents sent out by the application under test.                                           |
| [OngoingStubbing](https://developer.android.com/reference/android/support/test/espresso/intent/OngoingStubbing)           | Supports method chaining after @Intents#intending method call.                                                                       |
| [ResettingStubberImpl](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubberImpl) | Implementation of[ResettingStubber](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubber)   |
| [VerificationModes](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationModes)       | Implementations of[VerificationMode](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationMode). |

-

  ## Interfaces

  - [ActivityResultFunction](https://developer.android.com/reference/android/support/test/espresso/intent/ActivityResultFunction)
  - [ResettingStubber](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubber)
  - [ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)
  - [VerifiableIntent](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent)
  - [VerificationMode](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationMode)
-

  ## Classes

  - [Checks](https://developer.android.com/reference/android/support/test/espresso/intent/Checks)
  - [Intents](https://developer.android.com/reference/android/support/test/espresso/intent/Intents)
  - [OngoingStubbing](https://developer.android.com/reference/android/support/test/espresso/intent/OngoingStubbing)
  - [ResettingStubberImpl](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubberImpl)
  - [VerificationModes](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationModes)