Mock class for PropertiesInterface
.
More...
#include <MockProperties.h>
|
|
| 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()) |
|
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...
|
|
|
typedef std::vector< unsigned char > | Bytes |
| Bytes data type. This data type represent a continuous byte array. More...
|
|
◆ 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:
- /workplace/avs-device-sdk/core/Properties/PropertiesInterfaces/test/include/acsdk/PropertiesInterfaces/test/MockProperties.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0