Stay organized with collections Save and categorize content based on your preferences.

androidx.test.espresso.intent

Interfaces

ActivityResultFunction

Function that returns an ActivityResult, to be called by getActivityResultFunctionForIntent.

ResettingStubber

A sneaky singleton object used to respond to intents with fake responses.

ResolvedIntent

An Intent that has been processed to determine the set of packages to which it resolves.

VerifiableIntent

A ResolvedIntent that can be marked as verified.

VerificationMode

An interface for different modes of verifying intents.

Classes

Checks

Substitute for Guava Preconditions to avoid guava as a dep.

Intents

Intents enables validation and stubbing of intents sent out by the application under test.

OngoingStubbing

Supports method chaining after @Intents#intending method call.

ResettingStubberImpl

Implementation of ResettingStubber

RuntimePermissionsStubber

Helper class that makes it easy to stub runtime permissions for UI testing on Android M (API 23) and above.

RuntimePermissionsStubber.ActivityResultBuilder

Builds an ActivityResult for a corresponding permission request.

RuntimePermissionsStubber.Matchers

A collection of hamcrest matchers to help with runtime permission stubbing.

VerificationModes

Implementations of VerificationMode.