Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testinit.h File Reference
#include <filesystem>
#include <string>
#include <gtest/gtest.h>
+ Include dependency graph for testinit.h:
+ This graph shows which files directly or indirectly include this file:


Functions for initialing GROMACS unit test executables.

Teemu Murtola


void gmx::test::initTestUtils (const std::filesystem::path &dataPath, const std::filesystem::path &tempPath, bool usesMpi, bool usesHardwareDetection, bool registersDynamically, int *argc, char ***argv)
 Initializes the test utilities library. More...
void gmx::test::finalizeTestUtils (bool usesHardwareDetection, bool registersDynamically)
 Finalizes the test utilities library. More...
void gmx::test::registerTestsDynamically ()
 Declaration of function used to dynamically register GoogleTest tests. More...
template<typename TestFixture , typename TestCase , typename Combinations >
void gmx::test::registerTests (const std::string &testSuiteName, std::string(*makeBriefNameOfTestCase)(const typename::testing::TestParamInfo< typename TestFixture::ParamType > &), std::string(*makeFullNameOfTestCase)(const typename::testing::TestParamInfo< typename TestFixture::ParamType > &, const std::string &), const Combinations &combinations)
 Register tests dynamically based on the execution context. More...