OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_REPEATERONCE_H_
21 #define OTest2_INCLUDE_OTEST2_REPEATERONCE_H_
42 const std::string& decorated_name_,
64 const Context& context_)
const override;
70 const std::string& decorated_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.
ObjectRepeaterOnce()
Ctor.
Object repeater which runs the test just once.
virtual void modifyObjectPath(const Context &context_, ObjectPath &path_) const override
Change current object path.
ObjectRepeaterOnce & operator=(const ObjectRepeaterOnce &)=delete
virtual ~ObjectRepeaterOnce()
Dtor.
std::shared_ptr< Object > ObjectPtr
Shared pointer to a testing object.
virtual ObjectScenarioPtr createObject(const Context &context_, const std::string &decorated_name_, ObjectPtr parent_) override
Create the testing object.
virtual bool hasNextRun(const Context &context_) const override
Check whether next run of the object is planned.