|
Gromacs
2026.0-dev-20251110-920b6d1
|
#include <gromacs/commandline/tests/cmdlinemodulemanagertest.h>
Inheritance diagram for gmx::test::MockModule:
Collaboration diagram for gmx::test::MockModule:Mock implementation of gmx::ICommandLineModule.
Public Member Functions | |
| MockModule (const char *name, const char *description) | |
| Creates a mock module with the given name and description. | |
| const char * | name () const override |
| Returns the name of the module. | |
| const char * | shortDescription () const override |
| Returns a one-line description of the module. | |
| void | setExpectedDisplayName (const char *expected) |
| Sets the expected display name for writeHelp() calls. | |
Public Member Functions inherited from gmx::ICommandLineModule | |
| virtual void | init (CommandLineModuleSettings *settings)=0 |
| Initializes the module and provides settings for the runner. More... | |
| virtual int | run (int argc, char *argv[])=0 |
| Runs the module with the given arguments. More... | |
| virtual void | writeHelp (const CommandLineHelpContext &context) const =0 |
| Prints help for the module. More... | |
1.8.5