public final class LogMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<TestLogRecord> |
hasArgumentAt(int idx,
Object object) |
static org.hamcrest.Matcher<TestLogRecord> |
hasArguments(Object... objects) |
static org.hamcrest.Matcher<TestLogRecord> |
hasAttachment(String attachment) |
static org.hamcrest.Matcher<TestLogRecord> |
hasExtraArgument(Object object) |
static org.hamcrest.Matcher<TestLogRecord> |
hasExtraArgumentAt(int idx,
Object object) |
static org.hamcrest.Matcher<TestLogRecord> |
hasExtraArguments(Object... objects) |
static org.hamcrest.Matcher<TestLogRecord> |
hasFormat(String format) |
static org.hamcrest.Matcher<TestLogRecord> |
hasFormatWithPattern(String formatPattern) |
static org.hamcrest.Matcher<TestLogRecord> |
hasLevel(Level level) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMarker(org.slf4j.Marker marker) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingArgumentAt(int idx,
org.hamcrest.Matcher<Object> matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingArguments(org.hamcrest.Matcher<Object[]> matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingExtraArguments(org.hamcrest.Matcher<Object[]> matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingExtraArgumentsContaining(org.hamcrest.Matcher<Object>... matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingExtraThrowable(org.hamcrest.Matcher<Throwable> matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingExtraThrowableChain(org.hamcrest.Matcher<Iterable<Throwable>> matcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingFormat(org.hamcrest.Matcher<String> tMatcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingMarker(org.hamcrest.Matcher<org.slf4j.Marker> tMatcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMatchingMessage(org.hamcrest.Matcher<String> tMatcher) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMessage(String message) |
static org.hamcrest.Matcher<TestLogRecord> |
hasMessageWithPattern(String messagePattern) |
static org.hamcrest.Matcher<TestLogRecord> |
hasNotLogger(Predicate<String> pred) |
static org.hamcrest.Matcher<TestLogRecord> |
hasNotLoggers(Set<String> loggers) |
static org.hamcrest.Matcher<TestLogRecord> |
noAttachment(String attachment) |
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingFormat(org.hamcrest.Matcher<String> tMatcher)
public static org.hamcrest.Matcher<TestLogRecord> hasFormat(String format)
public static org.hamcrest.Matcher<TestLogRecord> hasFormatWithPattern(String formatPattern)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingMarker(org.hamcrest.Matcher<org.slf4j.Marker> tMatcher)
public static org.hamcrest.Matcher<TestLogRecord> hasMarker(org.slf4j.Marker marker)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingMessage(org.hamcrest.Matcher<String> tMatcher)
public static org.hamcrest.Matcher<TestLogRecord> hasMessage(String message)
public static org.hamcrest.Matcher<TestLogRecord> hasMessageWithPattern(String messagePattern)
public static org.hamcrest.Matcher<TestLogRecord> hasLevel(Level level)
public static org.hamcrest.Matcher<TestLogRecord> hasNotLoggers(Set<String> loggers)
public static org.hamcrest.Matcher<TestLogRecord> hasNotLogger(Predicate<String> pred)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingArguments(org.hamcrest.Matcher<Object[]> matcher)
public static org.hamcrest.Matcher<TestLogRecord> hasArguments(Object... objects)
public static org.hamcrest.Matcher<TestLogRecord> hasArgumentAt(int idx, Object object)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingArgumentAt(int idx, org.hamcrest.Matcher<Object> matcher)
public static org.hamcrest.Matcher<TestLogRecord> hasAttachment(String attachment)
public static org.hamcrest.Matcher<TestLogRecord> noAttachment(String attachment)
public static org.hamcrest.Matcher<TestLogRecord> hasExtraArguments(Object... objects)
public static org.hamcrest.Matcher<TestLogRecord> hasExtraArgumentAt(int idx, Object object)
public static org.hamcrest.Matcher<TestLogRecord> hasExtraArgument(Object object)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingExtraArgumentsContaining(org.hamcrest.Matcher<Object>... matcher)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingExtraArguments(org.hamcrest.Matcher<Object[]> matcher)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingExtraThrowable(org.hamcrest.Matcher<Throwable> matcher)
public static org.hamcrest.Matcher<TestLogRecord> hasMatchingExtraThrowableChain(org.hamcrest.Matcher<Iterable<Throwable>> matcher)
Copyright © 2021 SPF4J. All rights reserved.