Storage of test marks.
More...
#include <testmarkstorage.h>
Storage of test marks.
Definition at line 34 of file testmarkstorage.h.
◆ TestMarkStorage() [1/2]
OTest2::TestMarkStorage::TestMarkStorage |
( |
TestMarkFactory * |
factory_, |
|
|
const std::string & |
storage_file_ |
|
) |
| |
|
explicit |
Ctor.
- Parameters
-
factory_ | A factory of storage marks. The ownership is not taken. |
storage_file_ | Name of the storage file |
Definition at line 188 of file testmarkstorage.cpp.
◆ ~TestMarkStorage()
OTest2::TestMarkStorage::~TestMarkStorage |
( |
| ) |
|
|
virtual |
◆ TestMarkStorage() [2/2]
◆ getTestMark()
TestMarkPtr OTest2::TestMarkStorage::getTestMark |
( |
const std::string & |
key_ | ) |
const |
Get test mark.
- Parameters
-
- Returns
- The test mark or null pointer if the key is not found.
Definition at line 208 of file testmarkstorage.cpp.
◆ operator=()
◆ setTestMark()
void OTest2::TestMarkStorage::setTestMark |
( |
const std::string & |
key_, |
|
|
TestMarkPtr |
test_mark_ |
|
) |
| |
Set new or reset old test mark.
- Parameters
-
key_ | Key of the test mark |
test_mark_ | The test mark |
Definition at line 199 of file testmarkstorage.cpp.
The documentation for this class was generated from the following files: