OTest2
A C++ testing framework
|
Schedule run of next testing object. More...
#include <cmdnextobject.h>
Public Member Functions | |
CmdNextObject (ScenarioIterPtr scenario_iter_, ObjectPtr parent_) | |
Ctor. More... | |
virtual | ~CmdNextObject () |
Dtor. More... | |
CmdNextObject (const CmdNextObject &)=delete | |
CmdNextObject & | operator= (const CmdNextObject &)=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 run of next testing object.
Definition at line 32 of file cmdnextobject.h.
|
explicit |
Ctor.
scenario_iter_ | An iterator of current level of the scenario |
parent_ | Parent object of the testing object. It may be null for root object. |
Definition at line 33 of file cmdnextobject.cpp.
|
virtual |
Dtor.
Definition at line 42 of file cmdnextobject.cpp.
|
delete |
|
delete |
|
overridevirtual |
Run the command.
context_ | The OTest2 context |
Implements OTest2::Command.
Definition at line 46 of file cmdnextobject.cpp.