52 return "Continues the current emulation.";
58 return "Continues the emulation.\n" 60 "See also: step (to single-step forward)\n";
69 static void Test_ContinueCommand_Affect_RunState()
72 vector<string> dummyArguments;
79 cmd->
Execute(gxemul, dummyArguments);
87 UNITTEST(Test_ContinueCommand_Affect_RunState);
void SetRunState(RunState newState)
Sets the RunState.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)
Executes the command on a given GXemul instance.
RunState GetRunState() const
Gets the current RunState.
virtual string GetShortDescription() const
Returns a short (one-line) description of the command.
#define UNITTESTS(class)
Helper for unit test case execution.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)=0
Executes the command on a given GXemul instance.
ContinueCommand()
Constructs a ContinueCommand.
A Command which continues execution, by changing the current RunState to Running. ...
virtual string GetLongDescription() const
Returns a long description/help message for the command.
A Command is a named function, executed by the CommandInterpreter.
static void Assert(const string &strFailMessage, bool condition)
Asserts that a boolean condition is correct.
virtual ~ContinueCommand()
#define UNITTEST(functionname)
Helper for unit test case execution.