RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
inMemoryOldb.cpp File Reference

Implementation of support functions to provide an in-memory OLDB for testing. More...

#include <ciiConfigApi.hpp>
#include <ciiOldbConfigClass.hpp>
#include <ciiOldbDataPoint.hpp>
#include <ciiOldbFactory.hpp>
#include <ciiOldbProviderFactory.hpp>
#include <meta/mdOldb.hpp>
#include <meta/mdOldbMatrix.hpp>
#include <provider/ciiOldbDirectoryTreeProvider.hpp>
#include <provider/ciiOldbInMemoryDataPointProvider.hpp>
#include <provider/ciiOldbLocalFileProvider.hpp>
#include <rtctk/componentFramework/test/inMemoryOldb.hpp>

Classes

class  rtctk::componentFramework::test::FakeRedisProvider
 A fake provider that can also be used for external Redis unit testing. More...
 

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 
namespace  rtctk::componentFramework::test
 

Functions

OldbCreationResult rtctk::componentFramework::test::CreateInMemoryOldbWithExtRedis ()
 This function prepares an in-memory OLDB with fake external Redis providers for unit testing.
 
std::shared_ptr< elt::oldb::CiiOldb > rtctk::componentFramework::test::CreateInMemoryOldb ()
 This function prepares an in-memory OLDB that is suitable for unit testing.
 
void rtctk::componentFramework::test::DeleteAllConfigDataPoints (const std::string &target_config_storage=elt::oldb::CiiOldbGlobal::CONFIG_STORAGE_CACHE)
 Deletes all configuration datapoints in the CII configuration service.
 

Detailed Description

Implementation of support functions to provide an in-memory OLDB for testing.