| androidx.test.espresso.FailureHandler |
Known Indirect Subclasses
|
Class Overview
Handles failures that happen during test execution.
Summary
| Public Methods |
|
abstract
void
|
handle(Throwable error, Matcher<View> viewMatcher)
Handle the given error in a manner that makes sense to the environment in which the test is
executed (e.g.
|
Public Methods
public
abstract
void
handle
(Throwable error, Matcher<View> viewMatcher)
Handle the given error in a manner that makes sense to the environment in which the test is
executed (e.g. take a screenshot, output extra debug info, etc). Upon handling, most handlers
will choose to propagate the error.
| Parameters |
error |
Throwable |
viewMatcher |
Matcher |