OTest2
A C++ testing framework
|
Schedule repeated run of testing object. More...
#include <cmdrepeatobject.h>
Public Member Functions | |
CmdRepeatObject (ScenarioPtr scenarion_, ObjectRepeaterPtr repeater_, const std::string &name_, ObjectPtr parent_) | |
Ctor. More... | |
virtual | ~CmdRepeatObject () |
Dtor. More... | |
CmdRepeatObject (const CmdRepeatObject &)=delete | |
CmdRepeatObject & | operator= (const CmdRepeatObject &)=delete |
virtual void | run (const Context &context_) override |
Run the command. More... | |
![]() | |
Command (const Command &)=delete | |
Command & | operator= (const Command &)=delete |
Command () | |
Ctor. More... | |
virtual | ~Command () |
Dtor. More... | |
virtual bool | shouldWait (const Context &context_, int &delay_) |
Say whether the framework should wait before running the command. More... | |
Schedule repeated run of testing object.
Definition at line 35 of file cmdrepeatobject.h.
|
explicit |
Ctor.
scenario_ | Scenario object representing the testing object |
repeater_ | The repeater |
name_ | Name of the repeated testing object |
parent_ | Parent object of the testing object |
Definition at line 36 of file cmdrepeatobject.cpp.
|
virtual |
Dtor.
Definition at line 49 of file cmdrepeatobject.cpp.
|
delete |
|
delete |
|
overridevirtual |
Run the command.
context_ | The OTest2 context |
Implements OTest2::Command.
Definition at line 53 of file cmdrepeatobject.cpp.