OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_OBJECTREPEATER_H_
21 #define OTest2_INCLUDE_OTEST2_OBJECTREPEATER_H_
63 const Context& context_)
const = 0;
90 const std::string& name_,
Generic interface of a repeater of a testing object (this repeater is not a part of the OTest2 API)
std::shared_ptr< ObjectScenario > ObjectScenarioPtr
Shared pointer of a testing object scheduled by the scenario.
This is a simple object keeping path to current testing object.
virtual ObjectScenarioPtr createObject(const Context &context_, const std::string &name_, ObjectPtr parent_)=0
Create the testing object.
virtual ~ObjectRepeater()
Dtor.
virtual void modifyObjectPath(const Context &context_, ObjectPath &path_) const =0
Change current object path.
std::shared_ptr< Object > ObjectPtr
Shared pointer to a testing object.
ObjectRepeater & operator=(const ObjectRepeater &)=delete
virtual bool hasNextRun(const Context &context_) const =0
Check whether next run of the object is planned.