Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
testinit.cpp File Reference
#include "gmxpre.h"
#include "testinit.h"
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <gmock/gmock.h>
#include "buildinfo.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/mpi_printer.h"
#include "testutils/refdata.h"
#include "testutils/testfilemanager.h"
#include "testutils/testoptions.h"
+ Include dependency graph for testinit.cpp:

Description

Implements functions in testinit.h.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::test::anonymous_namespace{testinit.cpp}::TestProgramContext
 Custom program context for test binaries. 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 char *dataPath, const char *tempPath, bool usesMpi, bool usesHardwareDetection, int *argc, char ***argv)
 Initializes the test utilities library. More...
 
void gmx::test::finalizeTestUtils ()
 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.