Gromacs  2021-sycl
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::ITextBlockMatcher Class Referenceabstract

#include <testutils/textblockmatchers.h>

Description

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...
 

Member Function Documentation

virtual void gmx::test::ITextBlockMatcher::checkStream ( TextInputStream stream,
TestReferenceChecker checker 
)
pure virtual

Matches contents of a stream against reference data.

Parameters
streamStream to match.
checkerChecker 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.


The documentation for this class was generated from the following files: