AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Mock class for PropertiesFactoryInterface
.
More...
#include <MockPropertiesFactory.h>
Public Member Functions | |
PropertiesFactoryInterface methods | |
std::shared_ptr< PropertiesInterface > | getProperties (const std::string &configUri) noexcept override |
Create properties interface for a given component and namespace. More... | |
PropertiesFactoryInterface stub methods for 1.8.x gmock | |
MOCK_METHOD1 (_getProperties, std::shared_ptr< PropertiesInterface >(const std::string &)) | |
Public Member Functions inherited from alexaClientSDK::acsdkPropertiesInterfaces::PropertiesFactoryInterface | |
virtual | ~PropertiesFactoryInterface ()=default |
Mock class for PropertiesFactoryInterface
.
|
inlineoverridevirtualnoexcept |
Create properties interface for a given component and namespace.
This method creates interface to access component specific configuration. The implementation maps URI into implementation-specific configuration container, and URI can be treated as a file location, database or table name, or region in non-volatile memory.
The method may return the same or different instances for the same configuration URI, but if different instances are returned, all of them must provide access to the same configuration container.
uri | Resource URI. The format must conform to RFC3986, but handling is implementation-specific. |
Implements alexaClientSDK::acsdkPropertiesInterfaces::PropertiesFactoryInterface.
alexaClientSDK::acsdkPropertiesInterfaces::test::MockPropertiesFactory::MOCK_METHOD1 | ( | _getProperties | , |
std::shared_ptr< PropertiesInterface > | const std::string & | ||
) |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0