AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
CertifiedSenderTest.cpp File Reference
#include <chrono>
#include <memory>
#include <queue>
#include <gtest/gtest.h>
#include <AVSCommon/AVS/AbstractAVSConnectionManager.h>
#include <AVSCommon/AVS/Initialization/AlexaClientSDKInit.h>
#include <AVSCommon/SDKInterfaces/ConnectionStatusObserverInterface.h>
#include <AVSCommon/SDKInterfaces/MessageRequestObserverInterface.h>
#include <AVSCommon/SDKInterfaces/MockMessageSender.h>
#include <AVSCommon/Utils/PromiseFuturePair.h>
#include <RegistrationManager/MockCustomerDataManager.h>
#include "CertifiedSender/CertifiedSender.h"
Include dependency graph for CertifiedSenderTest.cpp:

Classes

class  alexaClientSDK::certifiedSender::test::MockConnection
 
class  alexaClientSDK::certifiedSender::test::MockMessageStorage
 
class  alexaClientSDK::certifiedSender::test::CertifiedSenderTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::certifiedSender
 
 alexaClientSDK::certifiedSender::test
 

Functions

 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, test_clearData)
 
 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, test_initFailsWhenStorageMethodsFail)
 
 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, testTimer_storedMessagesGetSent)
 
 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, testTimer_SendMessageWithURI)
 
 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, testTimer_retryableResponsesAreRetried)
 
 alexaClientSDK::certifiedSender::test::TEST_F (CertifiedSenderTest, testTimer_nonRetryableResponsesAreNotRetried)
 

Variables

static const std::string alexaClientSDK::certifiedSender::test::TEST_MESSAGE = "TEST_MESSAGE"
 A sample message. More...
 
static const std::string alexaClientSDK::certifiedSender::test::TEST_URI = "TEST_URI"
 A sample message URI. More...
 
static const auto alexaClientSDK::certifiedSender::test::TEST_TIMEOUT = std::chrono::seconds(5)
 Timeout used in test. More...
 
static const auto alexaClientSDK::certifiedSender::test::LONG_TEST_TIMEOUT = std::chrono::seconds(20)
 Very long timeout used in test. More...
 

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0