Gromacs
2024.3
|
#include "gmxpre.h"
#include "testutils/testinit.h"
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <gmock/gmock.h>
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/cmdlinehelpwriter.h"
#include "gromacs/commandline/cmdlineinit.h"
#include "gromacs/commandline/cmdlineparser.h"
#include "gromacs/commandline/cmdlineprogramcontext.h"
#include "gromacs/math/utilities.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/filestream.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/path.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/textwriter.h"
#include "testutils/mpitest.h"
#include "testutils/refdata.h"
#include "testutils/test_hardware_environment.h"
#include "testutils/testfilemanager.h"
#include "testutils/testoptions.h"
#include "buildinfo.h"
#include "mpi_printer.h"
Implements functions in testinit.h.
Classes | |
class | gmx::test::anonymous_namespace{testinit.cpp}::TestProgramContext |
Custom program context for test binaries. More... | |
class | gmx::test::anonymous_namespace{testinit.cpp}::SuccessListener |
Makes GoogleTest non-failures more verbose. More... | |
Functions | |
void | gmx::test::anonymous_namespace{testinit.cpp}::printHelp (const Options &options) |
Prints the command-line options for the unit test binary. | |
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... | |
Variables | |
std::unique_ptr < TestProgramContext > | gmx::test::anonymous_namespace{testinit.cpp}::g_testContext |
Global program context instance for test binaries. | |