These are the Android API classes. See all API packages.
ActiveRootLister | Provides access to all root views in an application. |
ActivityLifecycles | Helper methods to understand ActivityLifecycle of the app. |
AdapterDataLoaderAction | Forces an AdapterView to ensure that the data matching a provided data matcher is loaded into the current view hierarchy. |
AdapterViewProtocol | A sadly necessary layer of indirection to interact with AdapterViews. |
AdapterViewProtocol.AdaptedData | A holder that associates a data object from an AdapterView with a token the AdapterViewProtocol can use to force that data object to be rendered as a child or deeper descendant of the adapter view. |
AdapterViewProtocol.AdaptedData.Builder | |
AdapterViewProtocol.DataFunction |
A custom function that is applied when getData() is executed.
|
AdapterViewProtocols |
Implementations of AdapterViewProtocol for standard SDK Widgets.
|
AmbiguousViewMatcherException |
An exception which indicates that a Matcher |
AmbiguousViewMatcherException.Builder |
Builder for AmbiguousViewMatcherException .
|
AppNotIdleException | An exception which indicates that the App has not become idle even after the specified duration. |
BaseLayerComponent | Dagger component for base classes. |
BaseLayerModule | Dagger module for creating the implementation classes within the base package. |
BaseLayerModule.FailureHandlerHolder |
Holder for AtomicReference |
BoundedMatcher<T, S extends T> | Some matcher sugar that lets you create a matcher for a given type but only process items of a specific subtype of that matcher. |
CloseKeyboardAction | Closes soft keyboard. |
CoordinatesProvider | Interface to implement calculation of Coordinates. |
CursorMatchers |
A collection of Hamcrest matchers that matches a data row in a Cursor .
|
CursorMatchers.CursorMatcher |
A Matcher that matches Cursor s based on values in their columns.
|
DataInteraction | An interface to interact with data displayed in AdapterViews. |
Default | Annotates a default provider. |
DefaultFailureHandler |
Espresso's default FailureHandler .
|
EditorAction | Performs whatever editor (IME) action is available on a view. |
Espresso | Entry point to the Espresso framework. |
EspressoException |
Used for identifying an exception as coming from the Espresso framework.
|
EspressoKey | Class that wraps the key code and meta state of the desired key press. |
EspressoKey.Builder | Builder for the EspressoKey class. |
FailureHandler | Handles failures that happen during test execution. |
GeneralClickAction | Enables clicking on views. |
GeneralLocation | Calculates coordinate position for general locations. |
GeneralSwipeAction | Enables swiping across a view. |
GraphHolder | Holds Espresso's object graph. |
HumanReadables | Text converters for various Android objects. |
IdlingPolicies | Allows users fine grain control over idling policies. |
IdlingPolicy | Allows users to control idling idleTimeouts in Espresso. |
IdlingResourceRegistry |
Keeps track of user-registered IdlingResource s.
|
IdlingResourceTimeoutException |
Indicates that an ERROR(/IdlingResource) , which has been registered with the framework, has not
idled within the allowed time.
|
InjectEventSecurityException |
An checked Exception indicating that event injection failed with a
SecurityException .
|
KeyEventAction | Enables pressing KeyEvents on views. |
LayoutAssertions |
A collection of layout ViewAssertion s.
|
LayoutMatchers | A collection of hamcrest matches to detect typical layout issues. |
MainThread | Annotates an Executor that executes tasks on the main thread |
MotionEvents |
Facilitates sending of motion events to a UiController .
|
MotionEvents.DownResultHolder | Holds the result of a down motion. |
NoActivityResumedException | An exception which indicates that there are no activities in stage RESUMED. |
NoMatchingRootException |
Indicates that a given matcher did not match any Root s (windows) from those that are
currently available.
|
NoMatchingViewException | Indicates that a given matcher did not match any elements in the view hierarchy. |
NoMatchingViewException.Builder |
Builder for NoMatchingViewException .
|
OpenLinkAction | Invokes onClick of a link within a TextView (made with Linkify or via another method). |
PerformException | Indicates that an exception occurred while performing a ViewAction on the UI thread. |
PerformException.Builder |
Builder for PerformException .
|
PositionAssertions |
A collection of ViewAssertion s for checking relative position of elements on the screen.
|
PrecisionDescriber | Interface to implement size of click area. |
PreferenceMatchers |
A collection of hamcrest matchers that match Preference s.
|
Press | Returns different touch target sizes. |
ReplaceTextAction |
Replaces view text by setting EditText s text property to given String.
|
Root | Represents a root view in the application and optionally the layout params of the window holding it. |
Root.Builder | |
RootMatchers |
A collection of matchers for Root objects.
|
RootViewPicker | Provides the root View of the top-most Window, with which the user can interact. |
ScrollToAction | Enables scrolling to the given view. |
Swipe | Executes different swipe types to given positions. |
Swiper | Interface to implement different swipe types. |
Swiper.Status | The result of the swipe. |
Tap | Executes different click types to given position. |
Tapper | Interface to implement different click types. |
Tapper.Status | The result of the tap. |
TreeIterables | Utility methods for iterating over tree structured items. |
TreeIterables.ViewAndDistance | Represents the distance a given view is from the root view. |
TypeTextAction | Enables typing text on views. |
UiController |
Provides base-level UI operations (such as injection of MotionEvent s) that can be used to
build user actions such as clicks, scrolls, swipes, etc.
|
UiControllerModule | Dagger module for UiController. |
ViewAction | Responsible for performing an interaction on the given View element. |
ViewActions |
A collection of common ViewActions .
|
ViewAssertion | Responsible for performing assertions on a View element. |
ViewAssertions |
A collection of common ViewAssertion s.
|
ViewFinder | Uses matchers to locate particular views within the view hierarchy. |
ViewFinderImpl |
Implementation of ViewFinder .
|
ViewInteraction | Provides the primary interface for test authors to perform actions or asserts on views. |
ViewInteractionComponent | Dagger component for view interaction classes. |
ViewMatchers |
A collection of hamcrest matchers that match View s.
|
ViewMatchers.Visibility | Enumerates the possible list of values for View.getVisibility(). |