Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Static Public Member Functions | Static Public Attributes
gmx::test::MdrunTestFixtureBase Class Reference

#include <programs/mdrun/tests/moduletest.h>

+ Inheritance diagram for gmx::test::MdrunTestFixtureBase:

Description

Declares test fixture base class for integration tests of mdrun functionality.

Heavyweight resources are set up here and shared across all tests in the test case fixture, e.g. the MPI communicator for the tests and the hardware detected that is available to it.

Static Public Member Functions

static void SetUpTestSuite ()
 Per-test-case setup for lengthy processes that need run only once.
 
static void TearDownTestSuite ()
 Per-test-case tear down.
 

Static Public Attributes

static MPI_Comm s_communicator = MPI_COMM_NULL
 Communicator over which the test fixture works.
 
static std::unique_ptr
< gmx_hw_info_t > 
s_hwinfo
 Hardware information object. More...
 

Member Data Documentation

std::unique_ptr< gmx_hw_info_t > gmx::test::MdrunTestFixtureBase::s_hwinfo
static

Hardware information object.

Detected within communicator_ and available to re-use over all tests in the test case of this text fixture.


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