|
OTest2
A C++ testing framework
|
A helper class for building of a case scenario (mainly composition of test sections) More...
#include <scenariocase.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| ScenarioCaseBuilder (const ScenarioCaseBuilder &)=delete | |
| ScenarioCaseBuilder & | operator= (const ScenarioCaseBuilder &)=delete |
| ScenarioCaseBuilder (const std::string &name_, const Tags &tags_, ObjectRepeaterFactoryPtr repeater_factory_) | |
| Ctor. More... | |
| ScenarioCaseBuilder (ScenarioCaseBuilder &&other_) | |
| Move ctor. More... | |
| ~ScenarioCaseBuilder () | |
| Dtor. More... | |
| ScenarioCaseBuilder & | pushSection (const std::string &name_) |
| Push a child section. More... | |
| ScenarioCaseBuilder & | popSection () |
| Pop section at current top. More... | |
| ScenarioPtr | getScenario () |
| Get the build scenario. More... | |
A helper class for building of a case scenario (mainly composition of test sections)
Definition at line 105 of file scenariocase.h.
|
delete |
|
explicit |
| OTest2::ScenarioCaseBuilder::ScenarioCaseBuilder | ( | ScenarioCaseBuilder && | other_ | ) |
Move ctor.
Definition at line 249 of file scenariocase.cpp.
| OTest2::ScenarioCaseBuilder::~ScenarioCaseBuilder | ( | ) |
Dtor.
Definition at line 255 of file scenariocase.cpp.
| ScenarioPtr OTest2::ScenarioCaseBuilder::getScenario | ( | ) |
Get the build scenario.
Definition at line 283 of file scenariocase.cpp.
|
delete |
| ScenarioCaseBuilder & OTest2::ScenarioCaseBuilder::popSection | ( | ) |
Pop section at current top.
Definition at line 276 of file scenariocase.cpp.
| ScenarioCaseBuilder & OTest2::ScenarioCaseBuilder::pushSection | ( | const std::string & | name_ | ) |
Push a child section.
| name_ | Name of the section |
Definition at line 259 of file scenariocase.cpp.
1.8.17