Package com.codeborne.selenide.logevents
Class ErrorsCollector
- java.lang.Object
-
- com.codeborne.selenide.logevents.ErrorsCollector
-
- All Implemented Interfaces:
LogEventListener
public class ErrorsCollector extends java.lang.Object implements LogEventListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLISTENER_SOFT_ASSERT
-
Constructor Summary
Constructors Constructor Description ErrorsCollector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEvent(LogEvent event)voidbeforeEvent(LogEvent currentLog)voidclear()voidfailIfErrors(java.lang.String testName)static voidvalidateAssertionMode(Config config)
-
-
-
Field Detail
-
LISTENER_SOFT_ASSERT
public static final java.lang.String LISTENER_SOFT_ASSERT
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterEvent
public void afterEvent(LogEvent event)
- Specified by:
afterEventin interfaceLogEventListener
-
beforeEvent
public void beforeEvent(LogEvent currentLog)
- Specified by:
beforeEventin interfaceLogEventListener
-
clear
public void clear()
-
failIfErrors
public void failIfErrors(java.lang.String testName)
-
validateAssertionMode
public static void validateAssertionMode(Config config)
-
-