Interface | Description |
---|---|
ErrorReport |
An interface used to collect and report errors found by a
StreamMatcher . |
ErrorReportFactory |
A factory used to control the
ErrorReport used by a StreamMatcher |
TupleMatcher |
TupleMatcher s are used by StreamMatcher to determine if
a tuple matches as an expected tuple or is an unexpected tuple. |
ValueMatcher |
ValueMatcher s are used by FieldBasedTupleMatcher to
determine if particular values match. |
Class | Description |
---|---|
BasicErrorReport |
A simple English error report that uses JSON to represent Tuples and
ExpectTuplesFailure for reporting errors. |
Matchers |
Factory and utility methods for
TupleMatcher
and ValueMatcher classes. |
Reports |
Factory and utility methods for
ErrorReport and
ErrorReportFactory classes. |
StreamMatcher |
StreamMatcher encapsulates the details of watching a stream for
relevant tuples. |
Enum | Description |
---|---|
StreamMatcher.ExtraTuples |
How to handle unexpected tuples during a call to
StreamMatcher.expectTuple(TupleMatcher) ,
StreamMatcher.expectTuples(TupleMatcher...) , or
StreamMatcher.expectTuples(List) |
StreamMatcher.Ordering |
How to handle tuple ordering during a call to
StreamMatcher.expectTuples(TupleMatcher...) or
StreamMatcher.expectTuples(List) |
Error | Description |
---|---|
ExpectTuplesFailure |
This class extends JUnit's
ComparisonFailure to allow better customization
of its results. |