![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Member Functions | |
void | SetUp () override |
Setup the test harness for running a test. More... | |
void | TearDown () override |
Clean up the test harness for running a test. More... | |
void | wakeOnSetCompleted () |
Function to set the promise and wake @ m_wakeSetCompleteFuture. More... | |
AlexaInterfaceCapabilityAgentTest () | |
Protected Attributes | |
std::promise< void > | m_wakeSetCompletedPromise |
Promise to synchronize directive handling through setCompleted. More... | |
std::future< void > | m_wakeSetCompletedFuture |
Future to synchronize directive handling through setCompleted. More... | |
std::unique_ptr< StrictMock< MockDirectiveHandlerResult > > | m_mockDirectiveHandlerResult |
A strict mock that allows the test to strictly monitor the handling of directives. More... | |
std::shared_ptr< avsCommon::utils::DeviceInfo > | m_deviceInfo |
Device info object to pass to the CA. More... | |
std::shared_ptr< StrictMock< MockExceptionEncounteredSender > > | m_mockExceptionSender |
A strict mock that allows the test to strictly monitor the exceptions being sent. More... | |
std::shared_ptr< MockAlexaInterfaceMessageSenderInternal > | m_mockAlexaMessageSender |
A mock that allows the test to monitor calls to MockAlexaInterfaceMessageSenderInternal . More... | |
std::shared_ptr< AlexaInterfaceCapabilityAgent > | m_alexaInterfaceCapabilityAgent |
A pointer to an instance of AlexaInterfaceCapabilityAgent that will be instantiated per test. More... | |
Test harness for EventProcessedHandler
class.
|
inline |
Constructor.
|
override |
Setup the test harness for running a test.
|
override |
Clean up the test harness for running a test.
void alexaClientSDK::capabilityAgents::alexa::test::AlexaInterfaceCapabilityAgentTest::wakeOnSetCompleted | ( | ) |
Function to set the promise and wake @ m_wakeSetCompleteFuture.
|
protected |
A pointer to an instance of AlexaInterfaceCapabilityAgent
that will be instantiated per test.
|
protected |
Device info object to pass to the CA.
|
protected |
A mock that allows the test to monitor calls to MockAlexaInterfaceMessageSenderInternal
.
|
protected |
A strict mock that allows the test to strictly monitor the handling of directives.
|
protected |
A strict mock that allows the test to strictly monitor the exceptions being sent.
|
protected |
Future to synchronize directive handling through setCompleted.
|
protected |
Promise to synchronize directive handling through setCompleted.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0