AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest Class Reference
Inheritance diagram for alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 The setup method run before every test. More...
 
void TearDown () override
 The tear down method run after every test. More...
 
void validateEndpointConfiguration (const std::shared_ptr< MockEndpoint > &endpoint, EndpointIdentifier endpointId, std::vector< CapabilityConfiguration > configurations=std::vector< CapabilityConfiguration >{CapabilityConfiguration{"Type", "InterfaceName", "1.0"}}, std::unordered_map< CapabilityConfiguration, std::shared_ptr< DirectiveHandlerInterface >> capabilities=std::unordered_map< CapabilityConfiguration, std::shared_ptr< DirectiveHandlerInterface >>{})
 

Protected Attributes

std::shared_ptr< StrictMock< MockDirectiveSequencer > > m_sequencer
 
std::shared_ptr< StrictMock< MockCapabilitiesDelegate > > m_capabilitiesDelegate
 
std::shared_ptr< StrictMock< MockEndpointRegistrationObserver > > m_registrationObserver
 
std::shared_ptr< CapabilitiesDelegateObserverInterfacem_capabilitiesObserver
 
std::unique_ptr< EndpointRegistrationManagerm_manager
 

Detailed Description

Test class that initializes the endpoint registration manager and mock their dependencies.

Member Function Documentation

◆ SetUp()

void alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::SetUp ( )
overrideprotected

The setup method run before every test.

◆ TearDown()

void alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::TearDown ( )
overrideprotected

The tear down method run after every test.

◆ validateEndpointConfiguration()

void alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::validateEndpointConfiguration ( const std::shared_ptr< MockEndpoint > &  endpoint,
EndpointIdentifier  endpointId,
std::vector< CapabilityConfiguration configurations = std::vector<CapabilityConfiguration>{CapabilityConfiguration{"Type", "InterfaceName", "1.0"}},
std::unordered_map< CapabilityConfiguration, std::shared_ptr< DirectiveHandlerInterface >>  capabilities = std::unordered_map<CapabilityConfiguration, std::shared_ptr<DirectiveHandlerInterface>>{} 
)
protected

Member Data Documentation

◆ m_capabilitiesDelegate

std::shared_ptr<StrictMock<MockCapabilitiesDelegate> > alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::m_capabilitiesDelegate
protected

◆ m_capabilitiesObserver

std::shared_ptr<CapabilitiesDelegateObserverInterface> alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::m_capabilitiesObserver
protected

◆ m_manager

std::unique_ptr<EndpointRegistrationManager> alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::m_manager
protected

◆ m_registrationObserver

std::shared_ptr<StrictMock<MockEndpointRegistrationObserver> > alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::m_registrationObserver
protected

◆ m_sequencer

std::shared_ptr<StrictMock<MockDirectiveSequencer> > alexaClientSDK::endpoints::test::EndpointRegistrationManagerTest::m_sequencer
protected

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