Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Variables
textreader.cpp File Reference
#include "gmxpre.h"
#include "gromacs/utility/textreader.h"
#include <functional>
#include <string>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/stringstream.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/refdata.h"
#include "testutils/stringtest.h"
+ Include dependency graph for textreader.cpp:

Description

Tests for gmx::TextReader.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Classes

struct  gmx::test::anonymous_namespace{textreader.cpp}::TextReaderTestParams
 Helper struct. More...
 
class  gmx::test::anonymous_namespace{textreader.cpp}::TextReaderTest
 Test fixture. More...
 

Typedefs

using gmx::test::anonymous_namespace{textreader.cpp}::Container = std::vector< std::string >
 Convenience name.
 
using gmx::test::anonymous_namespace{textreader.cpp}::TestCallbackFunc = void(*)(TextReader &)
 Convenience type for callbacks.
 

Variables

const Container gmx::test::anonymous_namespace{textreader.cpp}::g_inputs
 Test input data. Some configurations will remove comments delimited by '#'. More...
 
const Container gmx::test::anonymous_namespace{textreader.cpp}::g_unchangedOutputs
 A case of expected output data that is produced from two different configurations. More...