AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage Class Reference

#include <MockCapabilitiesStorage.h>

Inheritance diagram for alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD0 (createDatabase, bool())
 
 MOCK_METHOD0 (open, bool())
 
 MOCK_METHOD0 (close, void())
 
 MOCK_METHOD2 (store, bool(const std::string &, const std::string &))
 
 MOCK_METHOD1 (store, bool(const std::unordered_map< std::string, std::string > &))
 
 MOCK_METHOD1 (load, bool(std::unordered_map< std::string, std::string > *))
 
 MOCK_METHOD2 (load, bool(const std::string &, std::string *))
 
 MOCK_METHOD1 (erase, bool(const std::string &))
 
 MOCK_METHOD1 (erase, bool(const std::unordered_map< std::string, std::string > &))
 
 MOCK_METHOD0 (clearDatabase, bool())
 
- Public Member Functions inherited from alexaClientSDK::capabilitiesDelegate::storage::CapabilitiesDelegateStorageInterface
virtual ~CapabilitiesDelegateStorageInterface ()=default
 
virtual bool createDatabase ()=0
 
virtual bool open ()=0
 
virtual void close ()=0
 
virtual bool store (const std::string &endpointId, const std::string &endpointConfig)=0
 
virtual bool store (const std::unordered_map< std::string, std::string > &endpointIdToConfigMap)=0
 
virtual bool load (std::unordered_map< std::string, std::string > *endpointConfigMap)=0
 
virtual bool load (const std::string &endpointId, std::string *endpointConfig)=0
 
virtual bool erase (const std::string &endpointId)=0
 
virtual bool erase (const std::unordered_map< std::string, std::string > &endpointIdToConfigMap)=0
 
virtual bool clearDatabase ()=0
 

Detailed Description

Mock class for CapabilitiesDelegateStorageInterface.

Member Function Documentation

◆ MOCK_METHOD0() [1/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD0 ( createDatabase  ,
bool()   
)

◆ MOCK_METHOD0() [2/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD0 ( open  ,
bool()   
)

◆ MOCK_METHOD0() [3/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD0 ( close  ,
void()   
)

◆ MOCK_METHOD0() [4/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD0 ( clearDatabase  ,
bool()   
)

◆ MOCK_METHOD1() [1/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD1 ( store  ,
bool(const std::unordered_map< std::string, std::string > &)   
)

◆ MOCK_METHOD1() [2/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD1 ( load  ,
bool(std::unordered_map< std::string, std::string > *)   
)

◆ MOCK_METHOD1() [3/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD1 ( erase  ,
bool(const std::string &)   
)

◆ MOCK_METHOD1() [4/4]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD1 ( erase  ,
bool(const std::unordered_map< std::string, std::string > &)   
)

◆ MOCK_METHOD2() [1/2]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD2 ( store  ,
bool(const std::string &, const std::string &)   
)

◆ MOCK_METHOD2() [2/2]

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesDelegateStorage::MOCK_METHOD2 ( load  ,
bool(const std::string &, std::string *)   
)

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0