androidx.test.espresso
Interfaces
EspressoException |
Used for identifying an exception as coming from the |
FailureHandler |
Handles failures that happen during test execution. |
IdlingResource |
Represents a resource of an application under test which can cause asynchronous background work to happen during test execution (e.g. an intent service that processes a button click). |
IdlingResource.ResourceCallback |
Registered by an |
RootViewException |
An |
UiController |
Provides base-level UI operations (such as injection of |
ViewAction |
Responsible for performing an interaction on the given View element. |
ViewAssertion |
Responsible for performing assertions on a View element. |
ViewFinder |
Uses matchers to locate particular views within the view hierarchy. |
Classes
AmbiguousViewMatcherException.Builder |
Builder for |
DataInteraction |
An interface to interact with data displayed in AdapterViews. |
DataInteraction.DisplayDataMatcher |
Internal matcher that is required for |
Espresso |
Entry point to the Espresso framework. |
GraphHolder |
Holds Espresso's object graph. |
IdlingPolicies |
Allows users fine grain control over idling policies. |
IdlingPolicy |
Allows users to control idling idleTimeouts in Espresso. |
IdlingRegistry |
Handles registering and unregistering of |
NoMatchingViewException.Builder |
Builder for |
PerformException.Builder |
Builder for |
Root |
Represents a root view in the application and optionally the layout params of the window holding it. |
Root.Builder |
|
ViewInteraction |
Provides the primary interface for test authors to perform actions or asserts on views. |
Exceptions
AmbiguousViewMatcherException |
An exception which indicates that a |
AppNotIdleException |
An exception which indicates that the App has not become idle even after the specified duration. |
IdlingResourceTimeoutException |
Indicates that an |
InjectEventSecurityException |
An checked |
NoActivityResumedException |
An exception which indicates that there are no activities in stage RESUMED. |
NoMatchingRootException |
Indicates that a given matcher did not match any |
NoMatchingViewException |
Indicates that a given matcher did not match any elements in the view hierarchy. |
PerformException |
Indicates that an exception occurred while performing a ViewAction on the UI thread. |