{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class DefaultFailureHandler : FailureHandler
Espresso's default FailureHandler. If this does not fit your needs, feel free to provide your own implementation via Espresso.setFailureHandler(FailureHandler).
Public constructors |
|
|---|---|
DefaultFailureHandler(appContext: @TargetContext Context!) |
|
Public functions |
|
|---|---|
Unit |
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). |