|
OTest2
A C++ testing framework
|
#include <objectrepeatermultiimpl.h>


Public Types | |
| typedef ObjectScenarioPtr(Parent_::* | FactoryMethod) (const Context &, const std::string &, std::shared_ptr< Repeater_ > &) |
Public Member Functions | |
| ObjectRepeaterMultiNested (FactoryMethod factory_method_, const std::string §ion_path_) | |
| virtual | ~ObjectRepeaterMultiNested ()=default |
| ObjectRepeaterMultiNested (const ObjectRepeaterMultiNested &)=delete | |
| ObjectRepeaterMultiNested & | operator= (const ObjectRepeaterMultiNested &)=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... | |
Public Member Functions inherited from OTest2::ObjectRepeater | |
| ObjectRepeater () | |
| Ctor. More... | |
| virtual | ~ObjectRepeater () |
| Dtor. More... | |
| ObjectRepeater (const ObjectRepeater &)=delete | |
| ObjectRepeater & | operator= (const ObjectRepeater &)=delete |
Definition at line 103 of file objectrepeatermultiimpl.h.
| typedef ObjectScenarioPtr(Parent_::* OTest2::ObjectRepeaterMultiNested< Parent_, Object_, Repeater_ >::FactoryMethod) (const Context &, const std::string &, std::shared_ptr< Repeater_ > &) |
Definition at line 105 of file objectrepeatermultiimpl.h.
|
inlineexplicit |
Definition at line 117 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 153 of file objectrepeatermultiimpl.h.
|
inlineoverridevirtual |
Check whether next run of the object is planned.
| context_ | The otest2 context |
Implements OTest2::ObjectRepeater.
Definition at line 136 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 145 of file objectrepeatermultiimpl.h.
|
delete |
1.8.17