Uses of Class
com.google.common.truth.Fact
Packages that use Fact
-
Uses of Fact in com.google.common.truth
Methods in com.google.common.truth that return FactModifier and TypeMethodDescriptionstatic Fact
Creates a fact with the given key and value, which will be printed in a format like "key: value."static Fact
Fact.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 FactModifier and TypeMethodDescriptionprotected final void
Subject.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 final void
Subject.failWithoutActual
(Fact first, Fact... rest) Fails, reporting a message with the given facts, without automatically adding the actual value.