RTC Toolkit
1.0.0
|
Functions | |
std::shared_ptr< elt::oldb::CiiOldb > | CreateInMemoryOldb () |
This function prepares an in-memory OLDB that is suitable for unit testing. More... | |
void | RegisterMetadataTypes (MetadataGroups flags) |
Registers the standard OLDB metadata values for various types. More... | |
void | DeleteAllConfigDataPoints (const std::string &target_config_storage) |
Deletes all configuration datapoints in the CII configuration service. More... | |
std::shared_ptr<elt::oldb::CiiOldb> rtctk::componentFramework::test::CreateInMemoryOldb | ( | ) |
This function prepares an in-memory OLDB that is suitable for unit testing.
The in-memory OLDB is a fake, but should reproduce most OLDB behaviour as expected by the OldbAdapter and RuntimeRepoAdapter.
void rtctk::componentFramework::test::DeleteAllConfigDataPoints | ( | const std::string & | target_config_storage | ) |
Deletes all configuration datapoints in the CII configuration service.
The function will recursively go through the entire configuration datapoint hierarchy in the CII configuration service and deletes all datapoints.
[in] | target_config_storage | The target configuration to clear. By default this is the in-memory "cache" storage. |
void rtctk::componentFramework::test::RegisterMetadataTypes | ( | MetadataGroups | flags | ) |
Registers the standard OLDB metadata values for various types.
[in] | flags | A bitwise concatenation of available metadata type groups that should be registered. |