TestFrameworkException


interface TestFrameworkException

Known direct subclasses
EspressoException

Used for identifying an exception as coming from the Espresso framework.

InjectEventSecurityException

An checked Exception indicating that event injection failed with a .

UnsupportedDeviceOperationException

An exception which indicates that the device selected does not support an operation called on it.

Known indirect subclasses
AmbiguousViewMatcherException

An exception which indicates that a Matcher<View> matched multiple views in the hierarchy when only one view was expected.

AppNotIdleException

An exception which indicates that the App has not become idle even after the specified duration.

IdlingResourceTimeoutException

Indicates that an 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 .

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.

NoRemoteEspressoInstanceException

An Exception which indicates that there are no remote Espresso clients present.

PerformException

Indicates that an exception occurred while performing a ViewAction on the UI thread.

RemoteEspressoException

Espresso exception representing any runtime related errors in a multi-process environment

RemoteProtocolException

Espresso exception representing any protocol related errors in a multi-process environment

RootViewException

An EspressoException that can provide a Root View.


Marker interface for identifying an exception as coming from a test framework.