AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | DeviceSetupTest |
Functions | |
MATCHER_P3 (EventNamed, expectedNameSpace, expectedName, expectedAssistedSetup, "") | |
TEST_F (DeviceSetupTest, constructorNullptr) | |
Tests the constructor with nullptr as arguments. More... | |
TEST_F (DeviceSetupTest, sendDeviceSetupComplete) | |
Tests that sendDeviceSetupComplete sends an event. More... | |
TEST_F (DeviceSetupTest, sendDevicesSetupCompleteFails) | |
Tests that if sending an event fails, sendDevicesSetupComplete returns false. More... | |
TEST_F (DeviceSetupTest, sendDevicesSetupCompleteException) | |
Tests that receiving an exception upon sendDevicesSetupComplete. More... | |
TEST_F (DeviceSetupTest, sendDevicesSetupCompleteMultiple) | |
Test sending multiple requests and distinguish between them. More... | |
Variables | |
static const std::string | DEVICE_SETUP_NAMESPACE {"DeviceSetup"} |
The namespace for Device Setup. More... | |
static const std::string | SETUP_COMPLETED_EVENT {"SetupCompleted"} |
The SetupCompleted event. More... | |
static std::chrono::seconds | TIMEOUT {5} |
A long timeout to ensure that an event does occur. More... | |
alexaClientSDK::acsdkDeviceSetup::test::MATCHER_P3 | ( | EventNamed | , |
expectedNameSpace | , | ||
expectedName | , | ||
expectedAssistedSetup | , | ||
"" | |||
) |
Custom matcher to check an event with the correct assistedSetup value is sent. Returns true if the event matching that criteria is sent.
expectedNamespace | The expected namespace of the event. |
expectedName | The expected name of the event. |
assistedSetup | The expected assistedSetup of the event. |
alexaClientSDK::acsdkDeviceSetup::test::TEST_F | ( | DeviceSetupTest | , |
constructorNullptr | |||
) |
Tests the constructor with nullptr as arguments.
alexaClientSDK::acsdkDeviceSetup::test::TEST_F | ( | DeviceSetupTest | , |
sendDeviceSetupComplete | |||
) |
Tests that sendDeviceSetupComplete sends an event.
alexaClientSDK::acsdkDeviceSetup::test::TEST_F | ( | DeviceSetupTest | , |
sendDevicesSetupCompleteFails | |||
) |
Tests that if sending an event fails, sendDevicesSetupComplete returns false.
alexaClientSDK::acsdkDeviceSetup::test::TEST_F | ( | DeviceSetupTest | , |
sendDevicesSetupCompleteException | |||
) |
Tests that receiving an exception upon sendDevicesSetupComplete.
alexaClientSDK::acsdkDeviceSetup::test::TEST_F | ( | DeviceSetupTest | , |
sendDevicesSetupCompleteMultiple | |||
) |
Test sending multiple requests and distinguish between them.
|
static |
The namespace for Device Setup.
|
static |
The SetupCompleted event.
|
static |
A long timeout to ensure that an event does occur.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0