Gromacs
2024.4
|
#include "gmxpre.h"
#include "mock_datamodule.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/analysisdata/tests/datatest.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/refdata.h"
#include "testutils/testasserts.h"
Implements classes in mock_datamodule.h.
Classes | |
class | gmx::test::MockAnalysisDataModule::Impl |
Private implementation class for gmx::test::MockAnalysisDataModule. More... | |
class | gmx::test::anonymous_namespace{mock_datamodule.cpp}::StaticDataFrameHeaderChecker |
Functor for checking data frame header against static test input data. More... | |
class | gmx::test::anonymous_namespace{mock_datamodule.cpp}::StaticDataPointsChecker |
Functor for checking data frame points against static test input data. More... | |
class | gmx::test::anonymous_namespace{mock_datamodule.cpp}::DataStorageRequester |
Functor for requesting data storage. More... | |
class | gmx::test::anonymous_namespace{mock_datamodule.cpp}::StaticDataPointsStorageChecker |
Functor for checking data frame points and storage against static test input data. More... | |
Functions | |
void | gmx::test::anonymous_namespace{mock_datamodule.cpp}::checkReferenceDataPoint (TestReferenceChecker *checker, const AnalysisDataValue &value) |
Checks a single AnalysisDataValue. More... | |
void | gmx::test::anonymous_namespace{mock_datamodule.cpp}::checkHeader (const AnalysisDataFrameHeader &header, const AnalysisDataTestInputFrame &refFrame) |
Helper function for checking the data frame header against static data. More... | |
void | gmx::test::anonymous_namespace{mock_datamodule.cpp}::checkPoints (const AnalysisDataPointSetRef &points, const AnalysisDataTestInputPointSet &refPoints, int columnOffset) |
Helper function for checking a point set against static data. More... | |
void | gmx::test::anonymous_namespace{mock_datamodule.cpp}::checkFrame (const AnalysisDataFrameRef &frame, const AnalysisDataTestInputFrame &refFrame) |
Helper function for checking a full frame against static data. More... | |
void | gmx::test::anonymous_namespace{mock_datamodule.cpp}::setSerialExpectationForParallelDataStarted (MockAnalysisDataModule *mock) |
Sets the mock object expectation to mimick AnalysisDataModuleSerial. More... | |