Modifier | Constructor and Description |
---|---|
protected |
LogRecordMatcher(org.hamcrest.Matcher<? super java.util.Date> timestamp,
org.hamcrest.Matcher<? super LogLevel> level,
org.hamcrest.Matcher<? super java.lang.String> name,
org.hamcrest.Matcher<? super java.lang.String> message) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(LogRecord item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<? super LogRecord> |
hasLevel(LogLevel level) |
static org.hamcrest.Matcher<? super LogRecord> |
hasLevel(org.hamcrest.Matcher<? super LogLevel> levelMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasLevelAndMessage(LogLevel level,
java.lang.String message) |
static org.hamcrest.Matcher<? super LogRecord> |
hasLevelAndMessage(org.hamcrest.Matcher<? super LogLevel> levelMatcher,
org.hamcrest.Matcher<? super java.lang.String> messageMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasMessage(org.hamcrest.Matcher<? super java.lang.String> messageMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasMessage(java.lang.String message) |
static org.hamcrest.Matcher<? super LogRecord> |
hasName(org.hamcrest.Matcher<? super java.lang.String> nameMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasName(java.lang.String name) |
protected boolean |
matchesSafely(LogRecord item) |
protected LogRecordMatcher(org.hamcrest.Matcher<? super java.util.Date> timestamp, org.hamcrest.Matcher<? super LogLevel> level, org.hamcrest.Matcher<? super java.lang.String> name, org.hamcrest.Matcher<? super java.lang.String> message)
protected boolean matchesSafely(LogRecord item)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<LogRecord>
public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(LogRecord item, org.hamcrest.Description description)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<LogRecord>
public static org.hamcrest.Matcher<? super LogRecord> hasName(org.hamcrest.Matcher<? super java.lang.String> nameMatcher)
public static org.hamcrest.Matcher<? super LogRecord> hasName(java.lang.String name)
public static org.hamcrest.Matcher<? super LogRecord> hasLevel(org.hamcrest.Matcher<? super LogLevel> levelMatcher)
public static org.hamcrest.Matcher<? super LogRecord> hasMessage(org.hamcrest.Matcher<? super java.lang.String> messageMatcher)
public static org.hamcrest.Matcher<? super LogRecord> hasMessage(java.lang.String message)
public static org.hamcrest.Matcher<? super LogRecord> hasLevelAndMessage(org.hamcrest.Matcher<? super LogLevel> levelMatcher, org.hamcrest.Matcher<? super java.lang.String> messageMatcher)