Gromacs  2021.3
 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 SetUpTestCase ()
 Per-test-case setup for lengthy processes that need run only once.
 
static void TearDownTestCase ()
 Per-test-case tear down.
 

Static Public Attributes

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

Member Data Documentation

std::unique_ptr< gmx_hw_info_t > gmx::test::MdrunTestFixtureBase::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: