-
- All Implemented Interfaces:
-
androidx.test.espresso.FailureHandler,com.kaspersky.kaspresso.failure.FailureLoggingProvider
public final class LoggingFailureHandler implements FailureHandler, FailureLoggingProvider
The implementation of the FailureHandler interface that logs rich description of failure.
-
-
Constructor Summary
Constructors Constructor Description LoggingFailureHandler(UiTestLogger logger)
-
Method Summary
Modifier and Type Method Description Unithandle(Throwable error, Matcher<View> viewMatcher)Calls logDescriptionAndThrow on each failure. -
Methods inherited from class androidx.test.espresso.FailureHandler
equals, hashCode, toString -
Methods inherited from class com.kaspersky.kaspresso.failure.LoggingFailureHandler
logDescriptionAndThrow, logStackTrace, withLoggingOnFailure -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LoggingFailureHandler
LoggingFailureHandler(UiTestLogger logger)
-
-
-
-