Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::test::anonymous_namespace{pmegathertest.cpp}::GatherTestBody Class Reference
+ Inheritance diagram for gmx::test::anonymous_namespace{pmegathertest.cpp}::GatherTestBody:
+ Collaboration diagram for gmx::test::anonymous_namespace{pmegathertest.cpp}::GatherTestBody:

Description

Test case whose body checks that gather works.

Normally the declaration of this class would be produced by a call to a macro like TEST_P(GatherTest, WorksWith). That macro places the body of the test case in the TestBody() method, which here is done explicitly.

Note that it is important to use parameters_ to access the values that describe the particular test case, rather than the usual GoogleTest function GetParam(), because the latter no longer works.

Public Member Functions

 GatherTestBody (const GatherInputParameters &parameters)
 Constructor.
 
void TestBody () override
 The test.
 

Public Attributes

GatherInputParameters parameters_
 The test parameters with which the test case was instantiated.
 

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