Gromacs
2021-sycl
|
#include <testutils/filematchers.h>
Represents a file matcher, matching file contents against reference (or other) data.
Typical pattern of declaring such matchers is to
Any method that then wants to accept a matcher can accept a IFileMatcherSettings.
Public Member Functions | |
virtual void | checkFile (const std::string &path, TestReferenceChecker *checker)=0 |
Matches contents of a file. More... | |
|
pure virtual |
Matches contents of a file.
path | Path to the file 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.