AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
DeviceSetupTest.cpp File Reference
#include <AVSCommon/SDKInterfaces/MockMessageSender.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <rapidjson/document.h>
#include "acsdkDeviceSetup/DeviceSetup.h"
#include "acsdkDeviceSetup/DeviceSetupMessageRequest.h"
Include dependency graph for DeviceSetupTest.cpp:

Classes

class  alexaClientSDK::acsdkDeviceSetup::test::DeviceSetupTest
 

Namespaces

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

Functions

 alexaClientSDK::acsdkDeviceSetup::test::MATCHER_P3 (EventNamed, expectedNameSpace, expectedName, expectedAssistedSetup, "")
 
 alexaClientSDK::acsdkDeviceSetup::test::TEST_F (DeviceSetupTest, constructorNullptr)
 Tests the constructor with nullptr as arguments. More...
 
 alexaClientSDK::acsdkDeviceSetup::test::TEST_F (DeviceSetupTest, sendDeviceSetupComplete)
 Tests that sendDeviceSetupComplete sends an event. More...
 
 alexaClientSDK::acsdkDeviceSetup::test::TEST_F (DeviceSetupTest, sendDevicesSetupCompleteFails)
 Tests that if sending an event fails, sendDevicesSetupComplete returns false. More...
 
 alexaClientSDK::acsdkDeviceSetup::test::TEST_F (DeviceSetupTest, sendDevicesSetupCompleteException)
 Tests that receiving an exception upon sendDevicesSetupComplete. More...
 
 alexaClientSDK::acsdkDeviceSetup::test::TEST_F (DeviceSetupTest, sendDevicesSetupCompleteMultiple)
 Test sending multiple requests and distinguish between them. More...
 

Variables

static const std::string alexaClientSDK::acsdkDeviceSetup::test::DEVICE_SETUP_NAMESPACE {"DeviceSetup"}
 The namespace for Device Setup. More...
 
static const std::string alexaClientSDK::acsdkDeviceSetup::test::SETUP_COMPLETED_EVENT {"SetupCompleted"}
 The SetupCompleted event. More...
 
static std::chrono::seconds alexaClientSDK::acsdkDeviceSetup::test::TIMEOUT {5}
 A long timeout to ensure that an event does occur. 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