The fixture class for PDI plugins testing.
More...
#include <testing.h>
The fixture class for PDI plugins testing.
- Each test run in its own directory.
- offer make_a to create data
- Takes ownership of PC_tree and handles initialization & finalization of PDI
◆ PdiTest()
| PDI::PdiTest::PdiTest |
( |
| ) |
|
|
protected |
◆ ~PdiTest()
| PDI::PdiTest::~PdiTest |
( |
| ) |
|
|
inlineprotected |
◆ make_a()
template<typename T>
| T PDI::PdiTest::make_a |
( |
| ) |
|
|
inlineprotected |
make a new repeatably randomly initialized object
◆ InitPdi()
| void PDI::PdiTest::InitPdi |
( |
PC_tree_t | tree | ) |
|
|
inlineprotected |
Initialize PDI with the provided PC_tree.
Takes ownership of the tree. If PDI was already initialized, finalize it first.
- Parameters
-
| tree | the tree to initialize from. |
◆ FinalizePdi()
| void PDI::PdiTest::FinalizePdi |
( |
| ) |
|
|
inlineprotected |
Finalize PDI.
Leaves any file created available until the end of the test
◆ MOCK_METHOD()
| PDI::PdiTest::MOCK_METHOD |
( |
void | , |
|
|
PdiError | , |
|
|
(PDI_status_t, char const *) | , |
|
|
(const) | ) |
|
protected |
The documentation for this class was generated from the following file: