![]()  | 
  
    AlexaClientSDK
    3.0.0
    
   A cross-platform, modular SDK for interacting with the Alexa Voice Service 
   | 
 
Classes | |
| class | AVSConnectionManagerTest | 
Test harness for AVSConnectionManager class.  More... | |
| class | MessageRouterTest | 
| class | MockAuthDelegate | 
| class | MockConnectionStatusObserver | 
| This class allows us to test ConnectionStatusObserver interaction.  More... | |
| class | MockEventTracer | 
| class | MockMessageConsumer | 
| class | MockMessageObserver | 
| This class allows us to test MessageObserver interaction.  More... | |
| class | MockMessageRequest | 
| class | MockMessageRouter | 
| class | MockMimeResponseSink | 
| class | MockPostConnect | 
| class | MockPostConnectFactory | 
| class | MockTransportFactory | 
| class | TestableConsumer | 
| class | TestableMessageRouter | 
Functions | |
| TEST_F (AVSConnectionManagerTest, test_create) | |
| TEST_F (AVSConnectionManagerTest, test_createWithNullMessageRouterAndObservers) | |
| TEST_F (AVSConnectionManagerTest, test_addConnectionStatusObserverNull) | |
| TEST_F (AVSConnectionManagerTest, test_addConnectionStatusObserverValid) | |
| TEST_F (AVSConnectionManagerTest, test_removeConnectionStatusObserverNull) | |
| TEST_F (AVSConnectionManagerTest, test_addMessageObserverNull) | |
| TEST_F (AVSConnectionManagerTest, test_removeMessageObserverNull) | |
| TEST_F (AVSConnectionManagerTest, test_enableAndDisableFunction) | |
| TEST_F (AVSConnectionManagerTest, test_sendMessageRequest) | |
| TEST_F (AVSConnectionManagerTest, test_setAVSGateway) | |
| TEST_F (AVSConnectionManagerTest, getAVSGatewayTest) | |
| TEST_F (AVSConnectionManagerTest, test_enabledOnConnectStatusChangedToFalse) | |
| TEST_F (AVSConnectionManagerTest, test_enabledOnConnectStatusChangedToTrue) | |
| TEST_F (AVSConnectionManagerTest, test_disabledOnConnectStatusChanged) | |
| TEST_F (MessageRouterTest, test_getConnectionStatusReturnsDisconnectedBeforeConnect) | |
| TEST_F (MessageRouterTest, test_getConnectionStatusReturnsPendingAfterConnectingStarts) | |
| TEST_F (MessageRouterTest, test_getConnectionStatusReturnsConnectedAfterConnectionEstablished) | |
| TEST_F (MessageRouterTest, test_getConnectionStatusReturnsConnectedAfterDisconnected) | |
| TEST_F (MessageRouterTest, test_ensureTheMessageRouterObserverIsInformedOfConnectionPendingAfterConnect) | |
| TEST_F (MessageRouterTest, test_ensureTheMessageRouterObserverIsInformedOfNewConnection) | |
| TEST_F (MessageRouterTest, test_ensureTheMessageRouterObserverIsInformedOfTransportDisconnection) | |
| TEST_F (MessageRouterTest, test_ensureTheMessageRouterObserverIsInformedOfRouterDisconnection) | |
| TEST_F (MessageRouterTest, test_sendIsSuccessfulWhenConnected) | |
| TEST_F (MessageRouterTest, test_sendFailsWhenDisconnected) | |
| TEST_F (MessageRouterTest, test_sendFailsWhenPending) | |
| TEST_F (MessageRouterTest, test_sendMessageDoesNotSendAfterDisconnected) | |
| TEST_F (MessageRouterTest, testTimer_shutdownCalledWithMultipleMessages) | |
| TEST_F (MessageRouterTest, test_serverSideDisconnectWithLongDelayedReconnectReportsPending) | |
| TEST_F (MessageRouterTest, test_serverSideDisconnectWithReconnectDoesNotReportingPending) | |
| TEST_F (MessageRouterTest, test_onReceive) | |
| TEST_F (MessageRouterTest, test_onConnectionStatusChanged) | |
| TEST_F (MessageRouterTest, test_enableTwiceOnPendingTransport) | |
| TEST_F (MessageRouterTest, test_onConnectedOnInactiveTransport) | |
| TEST_F (MessageRouterTest, setAndGetAVSGateway) | |
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_getConnectionStatusReturnsDisconnectedBeforeConnect | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_getConnectionStatusReturnsPendingAfterConnectingStarts | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_getConnectionStatusReturnsConnectedAfterConnectionEstablished | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_getConnectionStatusReturnsConnectedAfterDisconnected | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_ensureTheMessageRouterObserverIsInformedOfConnectionPendingAfterConnect | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_ensureTheMessageRouterObserverIsInformedOfNewConnection | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_ensureTheMessageRouterObserverIsInformedOfTransportDisconnection | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_ensureTheMessageRouterObserverIsInformedOfRouterDisconnection | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_sendIsSuccessfulWhenConnected | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_create | |||
| ) | 
Test create with valid messageRouter, ConnectionStatusObserver, MessageObservers 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_sendFailsWhenDisconnected | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_createWithNullMessageRouterAndObservers | |||
| ) | 
Test create with different combinations of messageRouter, ConnectionStatusObserver, MessageObservers, InternetConnectionMonitor. 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_sendFailsWhenPending | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_sendMessageDoesNotSendAfterDisconnected | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| testTimer_shutdownCalledWithMultipleMessages | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_addConnectionStatusObserverNull | |||
| ) | 
Test addConnectionStatusObserver with a nullptr observer, expecting no errors. 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_addConnectionStatusObserverValid | |||
| ) | 
Test with addConnectionStatusObserver with MockConnectionStatusObserver.
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_removeConnectionStatusObserverNull | |||
| ) | 
Test removeConnectionStatusObserver with a nullptr observer, expecting no errors. 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_serverSideDisconnectWithLongDelayedReconnectReportsPending | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_addMessageObserverNull | |||
| ) | 
Test addMessageObserver with a nullptr observer, expecting no errors. 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_removeMessageObserverNull | |||
| ) | 
Test removeMessageObserver with a nullptr observer, expecting no errors. 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_enableAndDisableFunction | |||
| ) | 
Test enable and disable function of AVSConnectionManager
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_sendMessageRequest | |||
| ) | 
Tests sendMessage with a nullptr request, expecting no errors. 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_setAVSGateway | |||
| ) | 
Test setAVSGateway and expect a call to messageRouter's setAVSGateway.
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| getAVSGatewayTest | |||
| ) | 
Test getAVSGateway and expect a call to messageRouter's getAVSGateway.
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_serverSideDisconnectWithReconnectDoesNotReportingPending | |||
| ) | 
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_enabledOnConnectStatusChangedToFalse | |||
| ) | 
Test that onConnectionStatusChanged(false) results in prompting MessageRouter to verify the connection.
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_enabledOnConnectStatusChangedToTrue | |||
| ) | 
Test that onConnectionStatusChanged(true) results in prompting MessageRouter to reconnect.
| alexaClientSDK::acl::test::TEST_F | ( | AVSConnectionManagerTest | , | 
| test_disabledOnConnectStatusChanged | |||
| ) | 
Test that onConnectionStatusChanged() results in no reconnect attempts or connectivity checks.
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_onReceive | |||
| ) | 
This tests the calling of private method receive() for MessageRouterObserver from MessageRouter 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_onConnectionStatusChanged | |||
| ) | 
This tests the calling of private method onConnectionStatusChanged() for MessageRouterObserver from MessageRouter 
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_enableTwiceOnPendingTransport | |||
| ) | 
Verify that when enable is called with active connection is pending we don't create a new connection.
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| test_onConnectedOnInactiveTransport | |||
| ) | 
Verify that if onConnected is called for inactive transport, we don't notify the observers and closing the connection.
| alexaClientSDK::acl::test::TEST_F | ( | MessageRouterTest | , | 
| setAndGetAVSGateway | |||
| ) | 
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0