JavaScript is disabled on your browser.
(package private) static final Fact
(package private) final com.google.common.collect.ImmutableList<Fact >
AssertionErrorWithFacts. facts
(package private) final com.google.common.collect.ImmutableList<Fact >
ComparisonFailureWithFacts. facts
private final com.google.common.collect.ImmutableList<Fact >
Subject.ComparisonResult. facts
(package private) final Fact
Returns a "but was:
" string.
(package private) final Fact
Returns a
Fact
describing how this correspondence compares elements of an iterable.
(package private) final Fact
Returns a
Fact
describing how this correspondence compares values in a map (or
multimap).
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 calling String.valueOf
on it.
Creates a fact with no value, which will be printed in the format "key" (with no colon or
value).
Returns the facts wrapped by this instance.
private com.google.common.collect.ImmutableList<Fact >
Returns a description of the final actual value, if it appears "interesting" enough to show.
com.google.common.collect.ImmutableList<Fact >
AssertionErrorWithFacts. facts ()
com.google.common.collect.ImmutableList<Fact >
ComparisonFailureWithFacts. facts ()
com.google.common.collect.ImmutableList<Fact >
(package private) com.google.common.collect.ImmutableList<Fact >
private static com.google.common.collect.ImmutableList<Fact >
(package private) static com.google.common.collect.ImmutableList<Fact >
Returns one or more facts describing the difference between the given expected and actual
values.
(package private) static com.google.common.collect.ImmutableList<Fact >
private static com.google.common.collect.ImmutableList<Fact >
Returns a list of facts (zero, one, or many, depending on the number of elements and the
grouping policy) describing the given missing, unexpected, or near-miss elements.
private static com.google.common.collect.ImmutableList<Fact >
private static com.google.common.collect.ImmutableList<Fact >
ComparisonFailureWithFacts. makeFacts (com.google.common.collect.ImmutableList<Fact > headFacts,
com.google.common.collect.ImmutableList<Fact > tailFacts,
String expected,
String actual)
private com.google.common.collect.ImmutableList<Fact >
private com.google.common.collect.ImmutableList<Fact >
private static com.google.common.collect.ImmutableList<Fact >
private com.google.common.collect.ImmutableList<Fact >
Returns the root actual value, if we know it's "different enough" from the final actual value.
Returns an instance concatenating the facts wrapped by the current instance followed by the
given facts.
Returns a non-equal result with the given description.
(package private) static Facts
Returns an instance wrapping the given facts.
private void
protected final void
Fails, reporting a message with the given facts, followed by an automatically added fact of the
form:
but was: actual value .
protected final void
Fails, reporting a message with the given facts, without automatically adding the actual
value.
private void
Subject. doFail (com.google.common.collect.ImmutableList<Fact > facts)
(package private) static Facts
Returns an instance wrapping the given facts.
(package private) void
FailureMetadata. fail (com.google.common.collect.ImmutableList<Fact > facts)
(package private) void
(package private) final void
(package private) final void
private static com.google.common.collect.ImmutableList<Fact >
ComparisonFailureWithFacts. makeFacts (com.google.common.collect.ImmutableList<Fact > headFacts,
com.google.common.collect.ImmutableList<Fact > tailFacts,
String expected,
String actual)
private com.google.common.collect.ImmutableList<Fact >