| Modifier | Constructor and Description |
|---|---|
protected |
LogRecordMatcher(org.hamcrest.Matcher<? super Date> timestamp,
org.hamcrest.Matcher<? super LogLevel> level,
org.hamcrest.Matcher<? super String> name,
org.hamcrest.Matcher<? super 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> |
hasMessage(org.hamcrest.Matcher<? super String> messageMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasMessage(String message) |
static org.hamcrest.Matcher<? super LogRecord> |
hasName(org.hamcrest.Matcher<? super String> nameMatcher) |
static org.hamcrest.Matcher<? super LogRecord> |
hasName(String name) |
protected boolean |
matchesSafely(LogRecord item) |
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 String> nameMatcher)
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 String> messageMatcher)
Copyright © 2015–2016 Boleslav Bobcik - Auderis. All rights reserved.