TupleMatcher
that will match if and only if all
of the argument TupleMatcher
s does.ValueMatcher
that will match if and only if all
of the argument ValueMatcher
s does.TupleMatcher
that matches if and only if all of its
component TupleMatcher
s match.ValueMatcher
that matches if and only if all of its
component ValueMatcher
s match.TupleMatcher
that will match if and only if at
least one of the argument TupleMatcher
s does.ValueMatcher
that will match if and only if at
least one of the argument ValueMatcher
s does.AnythingMatcher
that will always matchTupleMatcher
and a ValueMatcher
that always matches.TupleMatcher
that matches if and only if any of its
component TupleMatcher
s match.ValueMatcher
that matches if and only if any of its
component ValueMatcher
s match.StreamMatcher
except that it will attempt to automatically detect
appropriate timeouts based on server activity.ExpectTuplesFailure
for reporting errors.ValueMatcher
which compares doubles using a difference test
with a tolerance.FieldBasedTupleMatcher
which will match anything.FieldBasedTupleMatcher
that will match any Tuple.ValueMatcher
which uses the Object.equals(Object)
method to
determine a match.StreamMatcher
.ErrorReport
used by a StreamMatcher
TupleMatcher
TupleMatcher
sTupleMatcher
sComparisonFailure
to allow better customization
of its results.FieldBasedTupleMatcher
matches tuples by comparing their fields against
ValueMatcher
s.ErrorReport.getExpectedMessage()
and ErrorReport.getActualMessage()
.BasicErrorReport
instancesErrorReport.getExpectedMessage()
and ErrorReport.getActualMessage()
.FieldBasedTupleMatcher
to this, except
that it will ignore the field identified by field
TODO: it is possible to "ignore" fields that actually do not exist in the SchemaValueMatcher
s when creating a new version of them
that ignores particular fields.FieldBasedTupleMatcher
to this, except
that it will ignore any null values that it is currently
configured to enforce.ValueMatcher
like this
but that will
ignore sub-values that are null.ValueMatcher
s when creating a new version of them
that ignores nulls values.ValueMatcher
that will match anything non-nullValueMatcher
that will only match null valuesListValueMatcher
that will match a list of values
which match each matcherListValueMatcher
that will match a list of values
which match each matcherListValueMatcher
that will match a list of values
which match each valueValueMatcher
which uses the Object.equals(Object)
method to
determine a match.ValueMatcher
that will match the object.FieldBasedTupleMatcher
that will match the Tuple exactly.TupleMatcher
and ValueMatcher
classes.ValueMatcher
which matches null
values.TupleMatcher
that will match if and only if the
argument TupleMatcher
does not.ValueMatcher
that will match if and only if the
argument ValueMatcher
does not.NothingMatcher
that will never matchTupleMatcher
and a ValueMatcher
that never matches.TupleMatcher
that matches if and only if its
component TupleMatcher
does not match.ValueMatcher
that matches if and only if its
component ValueMatcher
does not match.ValueMatcher
which matches non-null
values.FieldBasedTupleMatcher
with all the provided matchers.StreamMatcher
for the stream provided by Dequeuer
.StreamMatcher
except that will handle unexpected Tuples
within expect*() calls according to the provided StreamMatcher.ExtraTuples
StreamMatcher
except that will handle order of tuples
within expect*() calls according to the provided StreamMatcher.Ordering
.ValueMatcher
which compares doubles using a ratio test
with a tolerance.StreamMatcher
except that will use the provided reporter
within expect*() calls.ErrorReport
and
ErrorReportFactory
classes.FieldBasedTupleMatcher
to this, except
that it will require the field identified by field
to match
m
FieldBasedTupleMatcher
to this, except
that it will require the field identified by field
to match
the literal val
.FieldBasedTupleMatcher
to this, except
that it will require the field identified by field
to be
non-null.FieldBasedTupleMatcher
to this, except
that it will require the field identified by field
to be
null.StreamMatcher
encapsulates the details of watching a stream for
relevant tuples.StreamMatcher.expectTuple(TupleMatcher)
,
StreamMatcher.expectTuples(TupleMatcher...)
, or
StreamMatcher.expectTuples(List)
StreamMatcher.expectTuples(TupleMatcher...)
or
StreamMatcher.expectTuples(List)
StreamMatcher
except that will use the provided timeout
within expect*() calls.TupleMatcher
s are used by StreamMatcher
to determine if
a tuple matches as an expected tuple or is an unexpected tuple.ValueMatcher
s are used by FieldBasedTupleMatcher
to
determine if particular values match.