Uses of Class
com.google.common.truth.Fact
-
Packages that use Fact Package Description com.google.common.truth Truth is a library for performing assertions in tests: -
-
Uses of Fact in com.google.common.truth
Methods in com.google.common.truth that return Fact Modifier and Type Method Description static FactFact. fact(String key, @Nullable Object value)Creates a fact with the given key and value, which will be printed in a format like "key: value." The value is converted to a string by callingString.valueOfon it.static FactFact. simpleFact(String key)Creates a fact with no value, which will be printed in the format "key" (with no colon or value).Methods in com.google.common.truth with parameters of type Fact Modifier and Type Method Description protected voidSubject. failWithActual(Fact first, Fact... rest)Fails, reporting a message with the given facts, followed by an automatically added fact of the form: but was: actual value.protected voidSubject. failWithoutActual(Fact first, Fact... rest)Fails, reporting a message with the given facts, without automatically adding the actual value.
-