16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_STORAGE_MOCKMISCSTORAGE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_STORAGE_MOCKMISCSTORAGE_H_ 22 #include <unordered_map> 23 #include <unordered_set> 29 namespace sdkInterfaces {
84 bool* tableEntryExistsValue));
93 std::unordered_map<std::string, std::string>* valueContainer));
103 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_STORAGE_MOCKMISCSTORAGE_H_ ValueType
The type of the value column in Misc DB.
Definition: MiscStorageInterface.h:44
MOCK_METHOD3(remove, bool(const std::string &componentName, const std::string &tableName, const std::string &key))
MOCK_METHOD2(clearTable, bool(const std::string &componentName, const std::string &tableName))
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
virtual bool load(const std::string &componentName, const std::string &tableName, std::unordered_map< std::string, std::string > *valueContainer)=0
virtual bool tableExists(const std::string &componentName, const std::string &tableName, bool *tableExistsValue)=0
virtual bool add(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
static const std::string tableName
Definition: SmartScreenCaptionStateManagerTest.cpp:30
virtual bool isOpened()=0
KeyType
The type of the key column in Misc DB.
Definition: MiscStorageInterface.h:36
virtual bool createDatabase()=0
virtual bool deleteTable(const std::string &componentName, const std::string &tableName)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual bool createTable(const std::string &componentName, const std::string &tableName, KeyType keyType, ValueType valueType)=0
static const std::string componentName
Definition: SmartScreenCaptionStateManagerTest.cpp:29
MOCK_METHOD0(createDatabase, bool())
virtual bool put(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
virtual bool tableEntryExists(const std::string &componentName, const std::string &tableName, const std::string &key, bool *tableEntryExistsValue)=0
virtual bool clearTable(const std::string &componentName, const std::string &tableName)=0
virtual bool update(const std::string &componentName, const std::string &tableName, const std::string &key, const std::string &value)=0
Definition: MiscStorageInterface.h:33
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58
MOCK_METHOD4(createTable, bool(const std::string &componentName, const std::string &tableName, KeyType keyType, ValueType valueType))
Definition: MockMiscStorage.h:36