Class Index

These are the Android API classes. See all API packages.

A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   V  

A

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 matched multiple views in the hierarchy when only one view was expected. 
AmbiguousViewMatcherException.Builder Builder for AmbiguousViewMatcherException
AppNotIdleException An exception which indicates that the App has not become idle even after the specified duration. 

B

BaseLayerComponent Dagger component for base classes. 
BaseLayerModule Dagger module for creating the implementation classes within the base package. 
BaseLayerModule.FailureHandlerHolder Holder for AtomicReference which allows updating it at runtime. 
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. 

C

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 Cursors based on values in their columns. 

D

DataInteraction An interface to interact with data displayed in AdapterViews. 
Default Annotates a default provider. 
DefaultFailureHandler Espresso's default FailureHandler

E

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. 

F

FailureHandler Handles failures that happen during test execution. 

G

GeneralClickAction Enables clicking on views. 
GeneralLocation Calculates coordinate position for general locations. 
GeneralSwipeAction Enables swiping across a view. 
GraphHolder Holds Espresso's object graph. 

H

HumanReadables Text converters for various Android objects. 

I

IdlingPolicies Allows users fine grain control over idling policies. 
IdlingPolicy Allows users to control idling idleTimeouts in Espresso. 
IdlingResourceRegistry Keeps track of user-registered IdlingResources. 
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

K

KeyEventAction Enables pressing KeyEvents on views. 

L

LayoutAssertions A collection of layout ViewAssertions. 
LayoutMatchers A collection of hamcrest matches to detect typical layout issues. 

M

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. 

N

NoActivityResumedException An exception which indicates that there are no activities in stage RESUMED. 
NoMatchingRootException Indicates that a given matcher did not match any Roots (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

O

OpenLinkAction Invokes onClick of a link within a TextView (made with Linkify or via another method). 

P

PerformException Indicates that an exception occurred while performing a ViewAction on the UI thread. 
PerformException.Builder Builder for PerformException
PositionAssertions A collection of ViewAssertions 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 Preferences. 
Press Returns different touch target sizes. 

R

ReplaceTextAction Replaces view text by setting EditTexts 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. 

S

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. 

T

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. 

U

UiController Provides base-level UI operations (such as injection of MotionEvents) that can be used to build user actions such as clicks, scrolls, swipes, etc. 
UiControllerModule Dagger module for UiController. 

V

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 ViewAssertions. 
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 Views. 
ViewMatchers.Visibility Enumerates the possible list of values for View.getVisibility().