OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_CMDTEARDOWNOBJECT_H_
21 #define OTest2_INCLUDE_OTEST2_CMDTEARDOWNOBJECT_H_
64 const Context& context_)
override;
virtual ~CmdTearDownObject()
Dtor.
std::shared_ptr< ObjectScenario > ObjectScenarioPtr
Shared pointer of a testing object scheduled by the scenario.
CmdTearDownObject(ObjectScenarioPtr object_, ScenarioPtr scenario_, int index_)
Ctor.
CmdTearDownObject & operator=(const CmdTearDownObject &)=delete
std::shared_ptr< Scenario > ScenarioPtr
Shared pointer of the scenario object.
generic command interface
virtual void run(const Context &context_) override
Run the command.
Run a tear-down function.