AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::integration::test::AlertsTest Class Reference
Inheritance diagram for alexaClientSDK::integration::test::AlertsTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::integration::test::AlertsTest:
Collaboration graph
[legend]

Protected Member Functions

virtual void SetUp () override
 
void TearDown () override
 
void connect ()
 
void disconnect ()
 
std::string getSentEventName (TestMessageSender::SendParams sendParams)
 
bool checkSentEventName (TestMessageSender::SendParams sendParams, std::string expectedName)
 
std::vector< int16_t > readAudioFromFile (const std::string &fileName, bool *errorOccurred)
 
void sendAudioFileAsRecognize (std::string audioFile)
 

Protected Attributes

std::unique_ptr< ACLTestContextm_context
 Context for running ACL based tests. More...
 
std::shared_ptr< TestMessageSenderm_avsConnectionManager
 
std::shared_ptr< CertifiedSenderm_certifiedSender
 
std::shared_ptr< TestExceptionEncounteredSenderm_exceptionEncounteredSender
 
std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterfacem_metricRecorder
 
std::shared_ptr< TestDirectiveHandlerm_directiveHandler
 
std::shared_ptr< DirectiveSequencerInterfacem_directiveSequencer
 
std::shared_ptr< MessageInterpreterm_messageInterpreter
 
std::shared_ptr< FocusManagerm_focusManager
 
std::shared_ptr< SpeakerManagerInterfacem_speakerManager
 
std::shared_ptr< TestClientm_testContentClient
 
std::shared_ptr< TestClientm_testDialogClient
 
std::shared_ptr< TestAlertObserverm_AlertsAgentObserver
 
std::shared_ptr< SpeechSynthesizerm_speechSynthesizer
 
std::shared_ptr< acsdkInteractionModelInterfaces::InteractionModelNotifierInterfacem_interactionModelNotifier
 
std::shared_ptr< InteractionModelCapabilityAgentm_interactionModelCA
 
std::shared_ptr< AlertsCapabilityAgentm_alertsAgent
 
std::shared_ptr< TestSpeechSynthesizerObserverm_speechSynthesizerObserver
 
std::shared_ptr< acsdkAlerts::storage::SQLiteAlertStoragem_alertStorage
 
std::shared_ptr< MockSetting< types::AlarmVolumeRampTypes > > m_mockAlarmVolumeRampSetting
 
std::shared_ptr< MockSetting< WakeWordConfirmationSettingType > > m_mockWakeWordConfirmationSetting
 
std::shared_ptr< MockSetting< SpeechConfirmationSettingType > > m_mockSpeechConfirmationSetting
 
std::shared_ptr< renderer::RendererInterfacem_alertRenderer
 
std::shared_ptr< TestAlertObserverm_alertObserver
 
std::shared_ptr< holdToTalkButtonm_holdToTalkButton
 
std::shared_ptr< AudioProviderm_HoldToTalkAudioProvider
 
avsCommon::utils::AudioFormat m_compatibleAudioFormat
 
std::unique_ptr< AudioInputStream::Writer > m_AudioBufferWriter
 
std::shared_ptr< AudioInputStreamm_AudioBuffer
 
std::shared_ptr< AudioInputProcessorm_AudioInputProcessor
 
std::shared_ptr< UserInactivityMonitorm_userInactivityMonitor
 
std::shared_ptr< applicationUtilities::systemSoundPlayer::SystemSoundPlayerm_systemSoundPlayer
 
std::shared_ptr< settings::DeviceSettingsManagerm_deviceSettingsManager
 
std::shared_ptr< registrationManager::CustomerDataManagerInterfacem_customerDataManager
 
std::shared_ptr< acsdkShutdownManager::ShutdownNotifierm_shutdownNotifier
 
Annotated< DefaultEndpointAnnotation, EndpointCapabilitiesRegistrarInterfacem_endpointCapabilitiesRegistrar
 
FocusState m_focusState
 
std::mutex m_mutex
 
std::condition_variable m_focusChangedCV
 
bool m_focusChangeOccurred
 
std::shared_ptr< avsCommon::avs::DialogUXStateAggregatorm_dialogUXStateAggregator
 
std::shared_ptr< TestMediaPlayerm_speakMediaPlayer
 
std::shared_ptr< TestMediaPlayerm_rendererMediaPlayer
 

Member Function Documentation

◆ checkSentEventName()

bool alexaClientSDK::integration::test::AlertsTest::checkSentEventName ( TestMessageSender::SendParams  sendParams,
std::string  expectedName 
)
inlineprotected

◆ connect()

void alexaClientSDK::integration::test::AlertsTest::connect ( )
inlineprotected

Connect to AVS.

◆ disconnect()

void alexaClientSDK::integration::test::AlertsTest::disconnect ( )
inlineprotected

Disconnect from AVS.

◆ getSentEventName()

std::string alexaClientSDK::integration::test::AlertsTest::getSentEventName ( TestMessageSender::SendParams  sendParams)
inlineprotected

◆ readAudioFromFile()

std::vector<int16_t> alexaClientSDK::integration::test::AlertsTest::readAudioFromFile ( const std::string &  fileName,
bool *  errorOccurred 
)
inlineprotected

◆ sendAudioFileAsRecognize()

void alexaClientSDK::integration::test::AlertsTest::sendAudioFileAsRecognize ( std::string  audioFile)
inlineprotected

◆ SetUp()

virtual void alexaClientSDK::integration::test::AlertsTest::SetUp ( )
inlineoverrideprotectedvirtual

◆ TearDown()

void alexaClientSDK::integration::test::AlertsTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ m_alertObserver

std::shared_ptr<TestAlertObserver> alexaClientSDK::integration::test::AlertsTest::m_alertObserver
protected

◆ m_alertRenderer

std::shared_ptr<renderer::RendererInterface> alexaClientSDK::integration::test::AlertsTest::m_alertRenderer
protected

◆ m_alertsAgent

std::shared_ptr<AlertsCapabilityAgent> alexaClientSDK::integration::test::AlertsTest::m_alertsAgent
protected

◆ m_AlertsAgentObserver

std::shared_ptr<TestAlertObserver> alexaClientSDK::integration::test::AlertsTest::m_AlertsAgentObserver
protected

◆ m_alertStorage

std::shared_ptr<acsdkAlerts::storage::SQLiteAlertStorage> alexaClientSDK::integration::test::AlertsTest::m_alertStorage
protected

◆ m_AudioBuffer

std::shared_ptr<AudioInputStream> alexaClientSDK::integration::test::AlertsTest::m_AudioBuffer
protected

◆ m_AudioBufferWriter

std::unique_ptr<AudioInputStream::Writer> alexaClientSDK::integration::test::AlertsTest::m_AudioBufferWriter
protected

◆ m_AudioInputProcessor

std::shared_ptr<AudioInputProcessor> alexaClientSDK::integration::test::AlertsTest::m_AudioInputProcessor
protected

◆ m_avsConnectionManager

std::shared_ptr<TestMessageSender> alexaClientSDK::integration::test::AlertsTest::m_avsConnectionManager
protected

◆ m_certifiedSender

std::shared_ptr<CertifiedSender> alexaClientSDK::integration::test::AlertsTest::m_certifiedSender
protected

◆ m_compatibleAudioFormat

avsCommon::utils::AudioFormat alexaClientSDK::integration::test::AlertsTest::m_compatibleAudioFormat
protected

◆ m_context

std::unique_ptr<ACLTestContext> alexaClientSDK::integration::test::AlertsTest::m_context
protected

Context for running ACL based tests.

◆ m_customerDataManager

std::shared_ptr<registrationManager::CustomerDataManagerInterface> alexaClientSDK::integration::test::AlertsTest::m_customerDataManager
protected

◆ m_deviceSettingsManager

std::shared_ptr<settings::DeviceSettingsManager> alexaClientSDK::integration::test::AlertsTest::m_deviceSettingsManager
protected

◆ m_dialogUXStateAggregator

std::shared_ptr<avsCommon::avs::DialogUXStateAggregator> alexaClientSDK::integration::test::AlertsTest::m_dialogUXStateAggregator
protected

◆ m_directiveHandler

std::shared_ptr<TestDirectiveHandler> alexaClientSDK::integration::test::AlertsTest::m_directiveHandler
protected

◆ m_directiveSequencer

std::shared_ptr<DirectiveSequencerInterface> alexaClientSDK::integration::test::AlertsTest::m_directiveSequencer
protected

◆ m_endpointCapabilitiesRegistrar

Annotated<DefaultEndpointAnnotation, EndpointCapabilitiesRegistrarInterface> alexaClientSDK::integration::test::AlertsTest::m_endpointCapabilitiesRegistrar
protected

◆ m_exceptionEncounteredSender

std::shared_ptr<TestExceptionEncounteredSender> alexaClientSDK::integration::test::AlertsTest::m_exceptionEncounteredSender
protected

◆ m_focusChangedCV

std::condition_variable alexaClientSDK::integration::test::AlertsTest::m_focusChangedCV
protected

◆ m_focusChangeOccurred

bool alexaClientSDK::integration::test::AlertsTest::m_focusChangeOccurred
protected

◆ m_focusManager

std::shared_ptr<FocusManager> alexaClientSDK::integration::test::AlertsTest::m_focusManager
protected

◆ m_focusState

FocusState alexaClientSDK::integration::test::AlertsTest::m_focusState
protected

◆ m_HoldToTalkAudioProvider

std::shared_ptr<AudioProvider> alexaClientSDK::integration::test::AlertsTest::m_HoldToTalkAudioProvider
protected

◆ m_holdToTalkButton

std::shared_ptr<holdToTalkButton> alexaClientSDK::integration::test::AlertsTest::m_holdToTalkButton
protected

◆ m_interactionModelCA

std::shared_ptr<InteractionModelCapabilityAgent> alexaClientSDK::integration::test::AlertsTest::m_interactionModelCA
protected

◆ m_interactionModelNotifier

std::shared_ptr<acsdkInteractionModelInterfaces::InteractionModelNotifierInterface> alexaClientSDK::integration::test::AlertsTest::m_interactionModelNotifier
protected

◆ m_messageInterpreter

std::shared_ptr<MessageInterpreter> alexaClientSDK::integration::test::AlertsTest::m_messageInterpreter
protected

◆ m_metricRecorder

std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface> alexaClientSDK::integration::test::AlertsTest::m_metricRecorder
protected

◆ m_mockAlarmVolumeRampSetting

std::shared_ptr<MockSetting<types::AlarmVolumeRampTypes> > alexaClientSDK::integration::test::AlertsTest::m_mockAlarmVolumeRampSetting
protected

◆ m_mockSpeechConfirmationSetting

std::shared_ptr<MockSetting<SpeechConfirmationSettingType> > alexaClientSDK::integration::test::AlertsTest::m_mockSpeechConfirmationSetting
protected

◆ m_mockWakeWordConfirmationSetting

std::shared_ptr<MockSetting<WakeWordConfirmationSettingType> > alexaClientSDK::integration::test::AlertsTest::m_mockWakeWordConfirmationSetting
protected

◆ m_mutex

std::mutex alexaClientSDK::integration::test::AlertsTest::m_mutex
protected

◆ m_rendererMediaPlayer

std::shared_ptr<TestMediaPlayer> alexaClientSDK::integration::test::AlertsTest::m_rendererMediaPlayer
protected

◆ m_shutdownNotifier

std::shared_ptr<acsdkShutdownManager::ShutdownNotifier> alexaClientSDK::integration::test::AlertsTest::m_shutdownNotifier
protected

◆ m_speakerManager

std::shared_ptr<SpeakerManagerInterface> alexaClientSDK::integration::test::AlertsTest::m_speakerManager
protected

◆ m_speakMediaPlayer

std::shared_ptr<TestMediaPlayer> alexaClientSDK::integration::test::AlertsTest::m_speakMediaPlayer
protected

◆ m_speechSynthesizer

std::shared_ptr<SpeechSynthesizer> alexaClientSDK::integration::test::AlertsTest::m_speechSynthesizer
protected

◆ m_speechSynthesizerObserver

std::shared_ptr<TestSpeechSynthesizerObserver> alexaClientSDK::integration::test::AlertsTest::m_speechSynthesizerObserver
protected

◆ m_systemSoundPlayer

std::shared_ptr<applicationUtilities::systemSoundPlayer::SystemSoundPlayer> alexaClientSDK::integration::test::AlertsTest::m_systemSoundPlayer
protected

◆ m_testContentClient

std::shared_ptr<TestClient> alexaClientSDK::integration::test::AlertsTest::m_testContentClient
protected

◆ m_testDialogClient

std::shared_ptr<TestClient> alexaClientSDK::integration::test::AlertsTest::m_testDialogClient
protected

◆ m_userInactivityMonitor

std::shared_ptr<UserInactivityMonitor> alexaClientSDK::integration::test::AlertsTest::m_userInactivityMonitor
protected

The documentation for this class was generated from the following file:

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