Gromacs  2026.0-dev-20250623-2b0916a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations
cmdlinehelpwriter.cpp File Reference
#include "gmxpre.h"
#include "gromacs/commandline/cmdlinehelpwriter.h"
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/onlinehelp/helpwritercontext.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
#include "gromacs/options/ioptionscontainer.h"
#include "gromacs/options/optionfiletype.h"
#include "gromacs/options/options.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/stringstream.h"
#include "gromacs/utility/textwriter.h"
#include "testutils/stringtest.h"
+ Include dependency graph for cmdlinehelpwriter.cpp:

Description

Tests gmx::CommandLineHelpWriter.

These tests fail for any change in the output, and it should be reviewed whether the change was intentional. For development, the tests can be run with a '-stdout' command-line option to print out the help to stdout instead of using the XML reference framework.

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

Enumerations

enum  gmx::test::anonymous_namespace{cmdlinehelpwriter.cpp}::TestEnum : int { Foo, Bar, Count }
 Enum value for testing.