Gromacs
2021-sycl
|
#include <testutils/textblockmatchers.h>
Represents a text matcher, matching text stream contents against reference data.
Typical pattern of declaring such matchers is to
Any method that then wants to accept a matcher can accept a ITextBlockMatcherSettings.
Public Member Functions | |
virtual void | checkStream (TextInputStream *stream, TestReferenceChecker *checker)=0 |
Matches contents of a stream against reference data. More... | |
|
pure virtual |
Matches contents of a stream against reference data.
stream | Stream to match. |
checker | Checker to use for matching. |
The method can change the state of the provided checker (e.g., by changing the default tolerance). The caller is responsible of providing a checker where such state changes do not matter.