@CheckReturnValue
public final class LogDataSubject
extends com.google.common.truth.Subject
LogData.| Modifier and Type | Method and Description |
|---|---|
static LogDataSubject |
assertThat(com.google.common.flogger.backend.LogData logData) |
void |
hasArguments(java.lang.Object... args)
Asserts that this log entry's arguments match the given values.
|
void |
hasMessage(java.lang.Object messageOrLiteral)
Asserts that this log entry's message matches the given value.
|
static com.google.common.truth.Subject.Factory<LogDataSubject,com.google.common.flogger.backend.LogData> |
logData() |
MetadataSubject |
metadata()
Asserts about the metadata of this log entry.
|
void |
wasForced()
Asserts that this log entry was forced.
|
actual, actualAsString, actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, named, toStringpublic static com.google.common.truth.Subject.Factory<LogDataSubject,com.google.common.flogger.backend.LogData> logData()
public static LogDataSubject assertThat(@Nullable com.google.common.flogger.backend.LogData logData)
public MetadataSubject metadata()
public void hasMessage(java.lang.Object messageOrLiteral)
assertLogData(e).hasMessage(value);.public void hasArguments(java.lang.Object... args)
assertLogData(e).hasArguments();.public void wasForced()