|
OTest2
A C++ testing framework
|
Start a testing object up. More...
#include <cmdstartupobject.h>


Public Member Functions | |
| CmdStartUpObject (ObjectScenarioPtr object_, ScenarioPtr scenario_, ObjectPtr parent_, int index_) | |
| Ctor. More... | |
| virtual | ~CmdStartUpObject () |
| Dtor. More... | |
| CmdStartUpObject (const CmdStartUpObject &)=delete | |
| CmdStartUpObject & | operator= (const CmdStartUpObject &)=delete |
| virtual void | run (const Context &context_) override |
| Run the command. More... | |
Public Member Functions inherited from OTest2::Command | |
| 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... | |
Start a testing object up.
Definition at line 33 of file cmdstartupobject.h.
|
explicit |
Ctor.
| object_ | The starting testing object |
| scenario_ | The scenario representing the object |
| parent_ | Parent of the testing object. It may be null for a root object |
| index_ | Zero based index of the start-up method |
Definition at line 34 of file cmdstartupobject.cpp.
|
virtual |
Dtor.
Definition at line 46 of file cmdstartupobject.cpp.
|
delete |
|
delete |
|
overridevirtual |
Run the command.
| context_ | The OTest2 context |
Implements OTest2::Command.
Definition at line 50 of file cmdstartupobject.cpp.
1.8.17