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

Header file with support routines for preparing an in-memory OLDB instance for testing. More...

#include <tuple>
#include <gmock/gmock.h>
#include <ciiOldb.hpp>
#include <ciiOldbGlobal.hpp>

Go to the source code of this file.

Classes

class  rtctk::componentFramework::test::MockExtRedisBackend
 Mock interface representing the external Redis backend. More...
 

Namespaces

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

Typedefs

using rtctk::componentFramework::test::OldbCreationResult
 

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

Header file with support routines for preparing an in-memory OLDB instance for testing.