X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Ftestutils%2Fstringtest.h;h=7f475b8e316c2b7b7de9b4644ed3c098863f7cc6;hb=d8baf1881edfb32f50fbfb5a7e8add2c058f1006;hp=ce0f00af86084ab4b25caeef6283a45be62a1787;hpb=8a2526894f17be3f183282c22d9c20d32a959630;p=alexxy%2Fgromacs.git diff --git a/src/testutils/stringtest.h b/src/testutils/stringtest.h index ce0f00af86..7f475b8e31 100644 --- a/src/testutils/stringtest.h +++ b/src/testutils/stringtest.h @@ -110,6 +110,15 @@ class StringTestBase : public ::testing::Test */ void checkFileContents(const std::string &filename, const char *id); + /*! \brief + * Tests that contents of two files are equal. + * + * \param[in] refFilename File with the expected contents. + * \param[in] testFilename File with the contents to be tested. + */ + void testFilesEqual(const std::string &refFilename, + const std::string &testFilename); + private: class Impl;