|
OTest2
A C++ testing framework
|
Run a tear-down function. More...
#include <cmdteardownobject.h>


Public Member Functions | |
| CmdTearDownObject (ObjectScenarioPtr object_, ScenarioPtr scenario_, int index_) | |
| Ctor. More... | |
| virtual | ~CmdTearDownObject () |
| Dtor. More... | |
| CmdTearDownObject (const CmdTearDownObject &)=delete | |
| CmdTearDownObject & | operator= (const CmdTearDownObject &)=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... | |
Run a tear-down function.
Definition at line 32 of file cmdteardownobject.h.
|
explicit |
Ctor.
| object_ | The testing object |
| scenario_ | The scenario representing the testing object |
| index_ | Zero base index of the tear-down function |
Definition at line 31 of file cmdteardownobject.cpp.
|
virtual |
Dtor.
Definition at line 42 of file cmdteardownobject.cpp.
|
delete |
|
delete |
|
overridevirtual |
Run the command.
| context_ | The OTest2 context |
Implements OTest2::Command.
Definition at line 46 of file cmdteardownobject.cpp.
1.8.17