Gromacs
2018.5
|
#include <gromacs/commandline/tests/cmdlinemodulemanagertest.h>
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. | |
virtual const char * | name () const |
Returns the name of the module. | |
virtual const char * | shortDescription () const |
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... | |