Gromacs  2025-dev-20240910-a7e2421
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
gmx::test::anonymous_namespace{mock_datamodule.cpp} Namespace Reference

Classes

class  StaticDataFrameHeaderChecker
 Functor for checking data frame header against static test input data. More...
 
class  StaticDataPointsChecker
 Functor for checking data frame points against static test input data. More...
 
class  DataStorageRequester
 Functor for requesting data storage. More...
 
class  StaticDataPointsStorageChecker
 Functor for checking data frame points and storage against static test input data. More...
 

Functions

void checkReferenceDataPoint (TestReferenceChecker *checker, const AnalysisDataValue &value)
 Checks a single AnalysisDataValue. More...
 
void checkHeader (const AnalysisDataFrameHeader &header, const AnalysisDataTestInputFrame &refFrame)
 Helper function for checking the data frame header against static data. More...
 
void checkPoints (const AnalysisDataPointSetRef &points, const AnalysisDataTestInputPointSet &refPoints, int columnOffset)
 Helper function for checking a point set against static data. More...
 
void checkFrame (const AnalysisDataFrameRef &frame, const AnalysisDataTestInputFrame &refFrame)
 Helper function for checking a full frame against static data. More...
 
void setSerialExpectationForParallelDataStarted (MockAnalysisDataModule *mock)
 Sets the mock object expectation to mimick AnalysisDataModuleSerial. More...
 

Function Documentation

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.

Parameters
[in]frameFrame to check.
[in]refFrameData to check against.
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.

Parameters
[in]headerFrame header to check.
[in]refFrameData to check against.
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.

Parameters
[in]pointsPoint set to check.
[in]refPointsData to check against.
[in]columnOffsetOffset of first column of points in refPoints.
void gmx::test::anonymous_namespace{mock_datamodule.cpp}::setSerialExpectationForParallelDataStarted ( MockAnalysisDataModule *  mock)

Sets the mock object expectation to mimick AnalysisDataModuleSerial.

Makes MockAnalysisDataModule::parallelDataStarted() behave as if the mock object was an AnalysisDataModuleSerial object: forward the call to MockAnalysisDataModule::dataStarted() and return false.