Gromacs  2025-dev-20240906-b7d3419
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::anonymous_namespace{mockhardwaretopology.cpp}::MockHardwareTopologyTest Class Reference

Inherits Test, and WithParamInterface< HardwareDetectionTestParams >.

Description

Mocking test with data collected from a few systems.

The easiest way to generate reference data for these test is to temporarily replace the mocking constructor with a call to detecting the topology on the hardware in question, and then only change the reference field IsThisSystem to 'false'. Consult the README file in the tests directory for how to capture the mock input data to use e.g. for logical processor IDs from cpuinfo or filesystem reference files.

Public Member Functions

void runTest (const HardwareTopology &hwTop)
 

The documentation for this class was generated from the following file: