AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::propertiesInterfaces::test::MockProperties Class Reference

Mock class for PropertiesInterface. More...

#include <MockProperties.h>

Inheritance diagram for alexaClientSDK::propertiesInterfaces::test::MockProperties:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::propertiesInterfaces::test::MockProperties:
Collaboration graph
[legend]

Public Member Functions

PropertiesInterface stub methods
 MOCK_NOEXCEPT_METHOD2 (getString, bool(const std::string &, std::string &))
 
 MOCK_NOEXCEPT_METHOD2 (putString, bool(const std::string &, const std::string &))
 
 MOCK_NOEXCEPT_METHOD2 (getBytes, bool(const std::string &, Bytes &))
 
 MOCK_NOEXCEPT_METHOD2 (putBytes, bool(const std::string &, const Bytes &))
 
 MOCK_NOEXCEPT_METHOD1 (getKeys, bool(std::unordered_set< std::string > &))
 
 MOCK_NOEXCEPT_METHOD1 (remove, bool(const std::string &))
 
 MOCK_NOEXCEPT_METHOD0 (clear, bool())
 
- Public Member Functions inherited from alexaClientSDK::propertiesInterfaces::PropertiesInterface
virtual ~PropertiesInterface () noexcept=default
 Destructor. More...
 
virtual bool getString (const std::string &key, std::string &value) noexcept=0
 Method to load string value from configuration. More...
 
virtual bool putString (const std::string &key, const std::string &value) noexcept=0
 Method to store string value into configuration. More...
 
virtual bool getBytes (const std::string &key, Bytes &value) noexcept=0
 Method to load binary value from configuration. More...
 
virtual bool putBytes (const std::string &key, const Bytes &value) noexcept=0
 Method to store binary value into configuration. More...
 
virtual bool getKeys (std::unordered_set< std::string > &keys) noexcept=0
 Method to inspect existing properties. More...
 
virtual bool remove (const std::string &key) noexcept=0
 Removes a property with a given name. More...
 
virtual bool clear () noexcept=0
 Removes all properties from a configuration container. More...
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::propertiesInterfaces::PropertiesInterface
typedef std::vector< unsigned char > Bytes
 Bytes data type. This data type represent a continuous byte array. More...
 

Detailed Description

Mock class for PropertiesInterface.

Member Function Documentation

◆ MOCK_NOEXCEPT_METHOD0()

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD0 ( clear  ,
bool()   
)

◆ MOCK_NOEXCEPT_METHOD1() [1/2]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD1 ( getKeys  ,
bool(std::unordered_set< std::string > &)   
)

◆ MOCK_NOEXCEPT_METHOD1() [2/2]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD1 ( remove  ,
bool(const std::string &)   
)

◆ MOCK_NOEXCEPT_METHOD2() [1/4]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD2 ( getString  ,
bool(const std::string &, std::string &)   
)

◆ MOCK_NOEXCEPT_METHOD2() [2/4]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD2 ( putString  ,
bool(const std::string &, const std::string &)   
)

◆ MOCK_NOEXCEPT_METHOD2() [3/4]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD2 ( getBytes  ,
bool(const std::string &, Bytes &)   
)

◆ MOCK_NOEXCEPT_METHOD2() [4/4]

alexaClientSDK::propertiesInterfaces::test::MockProperties::MOCK_NOEXCEPT_METHOD2 ( putBytes  ,
bool(const std::string &, const Bytes &)   
)

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