OTest2
A C++ testing framework
|
#include <objectrepeatermultiimpl.h>
Public Member Functions | |
ObjectRepeaterMultiRoot (const std::string §ion_path_) | |
virtual | ~ObjectRepeaterMultiRoot ()=default |
ObjectRepeaterMultiRoot (const ObjectRepeaterMultiRoot &)=delete | |
ObjectRepeaterMultiRoot & | operator= (const ObjectRepeaterMultiRoot &)=delete |
virtual bool | hasNextRun (const Context &context_) const override |
Check whether next run of the object is planned. More... | |
virtual void | modifyObjectPath (const Context &context_, ObjectPath &path_) const override |
Change current object path. More... | |
virtual ObjectScenarioPtr | createObject (const Context &context_, const std::string &case_name_, ObjectPtr parent_) override |
Create the testing object. More... | |
![]() | |
ObjectRepeater () | |
Ctor. More... | |
virtual | ~ObjectRepeater () |
Dtor. More... | |
ObjectRepeater (const ObjectRepeater &)=delete | |
ObjectRepeater & | operator= (const ObjectRepeater &)=delete |
Definition at line 34 of file objectrepeatermultiimpl.h.
|
inlineexplicit |
Definition at line 41 of file objectrepeatermultiimpl.h.
|
virtualdefault |
|
delete |
|
inlineoverridevirtual |
Create the testing object.
context_ | The OTest2 context |
name_ | Name of the object |
parent_ | Parent object of the created object |
Implements OTest2::ObjectRepeater.
Definition at line 74 of file objectrepeatermultiimpl.h.
|
inlineoverridevirtual |
Check whether next run of the object is planned.
context_ | The otest2 context |
Implements OTest2::ObjectRepeater.
Definition at line 57 of file objectrepeatermultiimpl.h.
|
inlineoverridevirtual |
Change current object path.
This method changes current object path to distinguish different runs of the testing object. Usually the some object's parameters are set.
[in] | context_ | The OTest2 context |
[in,out] | path_ | The modified object path |
Implements OTest2::ObjectRepeater.
Definition at line 66 of file objectrepeatermultiimpl.h.
|
delete |