AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::captions::test::MockCaptionPresenter Class Reference

#include <MockCaptionPresenter.h>

Inheritance diagram for alexaClientSDK::captions::test::MockCaptionPresenter:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::captions::test::MockCaptionPresenter:
Collaboration graph
[legend]

Public Member Functions

CaptionPresenterInterface methods
 MOCK_METHOD2 (onCaptionActivity, void(const CaptionFrame &, avsCommon::avs::FocusState))
 
 MOCK_METHOD1 (getWrapIndex, std::pair< bool, int >(const CaptionLine &))
 
- Public Member Functions inherited from alexaClientSDK::captions::CaptionPresenterInterface
virtual ~CaptionPresenterInterface ()=default
 
virtual void onCaptionActivity (const captions::CaptionFrame &captionFrame, avsCommon::avs::FocusState activityType)=0
 
virtual std::pair< bool, int > getWrapIndex (const captions::CaptionLine &captionLine)=0
 

Detailed Description

A mock CaptionPresenter for validating client-side expectations.

Member Function Documentation

◆ MOCK_METHOD1()

alexaClientSDK::captions::test::MockCaptionPresenter::MOCK_METHOD1 ( getWrapIndex  ,
std::pair< bool, int >  const CaptionLine & 
)

◆ MOCK_METHOD2()

alexaClientSDK::captions::test::MockCaptionPresenter::MOCK_METHOD2 ( onCaptionActivity  ,
void(const CaptionFrame &, avsCommon::avs::FocusState  
)

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