13#ifndef RTCTK_COMPONENTFRAMEWORK_TEST_INMEMORYOLDB_HPP
14#define RTCTK_COMPONENTFRAMEWORK_TEST_INMEMORYOLDB_HPP
18#include <gmock/gmock.h>
21#include <ciiOldbGlobal.hpp>
39 std::shared_ptr<MockExtRedisBackend>,
40 std::shared_ptr<MockExtRedisBackend>>;
Mock interface representing the external Redis backend.
Definition inMemoryOldb.hpp:31
MOCK_METHOD(void, ReadDataPoint,(const std::string &uri))
MOCK_METHOD(void, DeleteDataPoint,(const std::string &uri))
MOCK_METHOD(void, WriteDataPoint,(const std::string &uri))
Definition fakeClock.cpp:15
void DeleteAllConfigDataPoints(const std::string &target_config_storage=elt::oldb::CiiOldbGlobal::CONFIG_STORAGE_CACHE)
Deletes all configuration datapoints in the CII configuration service.
Definition inMemoryOldb.cpp:219
std::tuple< std::shared_ptr< elt::oldb::CiiOldb >, std::shared_ptr< MockExtRedisBackend >, std::shared_ptr< MockExtRedisBackend > > OldbCreationResult
Definition inMemoryOldb.hpp:38
OldbCreationResult CreateInMemoryOldbWithExtRedis()
This function prepares an in-memory OLDB with fake external Redis providers for unit testing.
Definition inMemoryOldb.cpp:155
std::shared_ptr< elt::oldb::CiiOldb > CreateInMemoryOldb()
This function prepares an in-memory OLDB that is suitable for unit testing.
Definition inMemoryOldb.cpp:191
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23