Root testing object.
More...
#include <testroot.h>
Root testing object.
Definition at line 32 of file testroot.h.
◆ TestRoot() [1/2]
OTest2::TestRoot::TestRoot |
( |
const std::string & |
name_ | ) |
|
|
explicit |
Ctor.
- Parameters
-
name_ | Name of the entire test |
Definition at line 32 of file testroot.cpp.
◆ ~TestRoot()
OTest2::TestRoot::~TestRoot |
( |
| ) |
|
|
virtual |
◆ TestRoot() [2/2]
OTest2::TestRoot::TestRoot |
( |
const TestRoot & |
| ) |
|
|
delete |
◆ getName()
std::string OTest2::TestRoot::getName |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ scheduleBody()
Schedule body of the testing object.
- Parameters
-
context_ | The OTest2 context |
scenario_ | The scenario representing this object |
me_ | A shared pointer pointing this instance |
Implements OTest2::ObjectScenario.
Definition at line 53 of file testroot.cpp.
◆ startUpObject()
bool OTest2::TestRoot::startUpObject |
( |
const Context & |
context_, |
|
|
int |
index_ |
|
) |
| |
|
overridevirtual |
Execute start-up function at specified index.
- Parameters
-
context_ | The OTest2 context |
index_ | The zero based index of the start-up function |
- Returns
- True if the start-up function exists and has been run
Implements OTest2::ObjectScenario.
Definition at line 47 of file testroot.cpp.
◆ tearDownObject()
void OTest2::TestRoot::tearDownObject |
( |
const Context & |
context_, |
|
|
int |
index_ |
|
) |
| |
|
overridevirtual |
Execute tear-down function at specified index.
- Parameters
-
context_ | The OTest2 context |
index_ | The zero based index of the tear-down function |
Implements OTest2::ObjectScenario.
Definition at line 62 of file testroot.cpp.
The documentation for this class was generated from the following files: