Test harness for InputControllerCapabilityAgentTest
class.
More...
|
void | SetUp () override |
| Set up the test harness for running a test. More...
|
|
◆ createCapabilityAgentAndSetExpects()
std::shared_ptr< AlexaInputControllerCapabilityAgent > alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::createCapabilityAgentAndSetExpects |
( |
const InputControllerInterface::SupportedInputs & |
supportedInputsSet, |
|
|
bool |
proactivelyReported, |
|
|
bool |
retrievable |
|
) |
| |
|
protected |
Function to create ModeControllerCapabilityAgent based on the reportable flags and sets required ContextManager and ModeController mocks.
◆ SetUp()
void alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::SetUp |
( |
| ) |
|
|
override |
Set up the test harness for running a test.
◆ m_inputControllerCA
std::shared_ptr<AlexaInputControllerCapabilityAgent> alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::m_inputControllerCA |
|
protected |
The AlexaInputControllerCapabilityAgent instance to be tested.
◆ m_mockContextManager
std::shared_ptr<StrictMock<MockContextManager> > alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::m_mockContextManager |
|
protected |
◆ m_mockDirectiveHandlerResult
std::unique_ptr<StrictMock<MockDirectiveHandlerResult> > alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::m_mockDirectiveHandlerResult |
|
protected |
A strict mock that allows the test to strictly monitor the handling of directives.
◆ m_mockExceptionSender
std::shared_ptr<StrictMock<MockExceptionEncounteredSender> > alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::m_mockExceptionSender |
|
protected |
◆ m_mockInputHandler
std::shared_ptr<StrictMock<MockHandler> > alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest::m_mockInputHandler |
|
protected |
A mock InputControllerInterface
object.
◆ m_mockResponseSender
Response sender mock to track events being sent.
◆ m_observer
A mock InputControllerObserverInterface
object.
◆ m_supportedInputs
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0