@ParametersAreNonnullByDefault public class ErrorsCollector extends java.lang.Object implements LogEventListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LISTENER_SOFT_ASSERT |
| Constructor and Description |
|---|
ErrorsCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEvent(LogEvent event) |
void |
beforeEvent(LogEvent currentLog) |
void |
failIfErrors(java.lang.String testName)
1.
|
static void |
validateAssertionMode(Config config) |
public static final java.lang.String LISTENER_SOFT_ASSERT
public void afterEvent(LogEvent event)
afterEvent in interface LogEventListenerpublic void beforeEvent(LogEvent currentLog)
beforeEvent in interface LogEventListenerpublic void failIfErrors(java.lang.String testName)
testName - any string, usually name of current testpublic static void validateAssertionMode(Config config)