public class SummaryLogChecker extends AbstractLogChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
SummaryLogChecker.SummaryInfo |
STACKTRACE_COLLAPSED_INFORMATION_REGEX_PATTERN, STACKTRACE_EXCEPTION_CAUSE_REGEX_PATTERN, STACKTRACE_FILTERED_ENTRY_REGEX_PATTERN, STACKTRACE_METHOD_CALL_REGEX_PATTERN| Constructor and Description |
|---|
SummaryLogChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(String logMessage)
The method should check the log according to the rules defined in the implementation.
|
List<SummaryLogChecker.SummaryInfo> |
getExpectedInfo() |
boolean |
isExclusiveContent() |
void |
setExclusiveContent(boolean exclusiveContent) |
void |
setExpectedInfo(List<SummaryLogChecker.SummaryInfo> expectedInfo) |
assertAndSaveError, getMessageLinesFromLogLines, getStacktraceLinesFromLogLines, splitLinespublic void check(String logMessage)
LogCheckercheck in interface LogCheckercheck in class AbstractLogCheckerlogMessage - the log message to checkpublic boolean isExclusiveContent()
public void setExclusiveContent(boolean exclusiveContent)
public List<SummaryLogChecker.SummaryInfo> getExpectedInfo()
public void setExpectedInfo(List<SummaryLogChecker.SummaryInfo> expectedInfo)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.