AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler Class Reference

Mock directive handler. More...

#include <MockDirectiveHandler.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (handleDirectiveImmediately, void(std::shared_ptr< avs::AVSDirective >))
 
 MOCK_METHOD1 (handleDirective, bool(const std::string &))
 
 MOCK_METHOD1 (cancelDirective, void(const std::string &))
 
 MOCK_METHOD0 (onDeregistered, void())
 
 MOCK_CONST_METHOD0 (getConfiguration, avs::DirectiveHandlerConfiguration())
 
 MOCK_METHOD2 (preHandleDirective, void(const std::shared_ptr< avsCommon::avs::AVSDirective > &, const std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerResultInterface > &))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::test::DirectiveHandlerMockAdapter
virtual ~DirectiveHandlerMockAdapter ()=default
 
virtual void preHandleDirective (const std::shared_ptr< avsCommon::avs::AVSDirective > &directive, const std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerResultInterface > &result)=0
 
void preHandleDirective (std::shared_ptr< avsCommon::avs::AVSDirective > directive, std::unique_ptr< avsCommon::sdkInterfaces::DirectiveHandlerResultInterface > result) override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::DirectiveHandlerInterface
virtual ~DirectiveHandlerInterface ()=default
 
virtual void handleDirectiveImmediately (std::shared_ptr< avsCommon::avs::AVSDirective > directive)=0
 
virtual void preHandleDirective (std::shared_ptr< avsCommon::avs::AVSDirective > directive, std::unique_ptr< DirectiveHandlerResultInterface > result)=0
 
virtual bool handleDirective (const std::string &messageId)=0
 
virtual void cancelDirective (const std::string &messageId)=0
 
virtual void onDeregistered ()=0
 
virtual avs::DirectiveHandlerConfiguration getConfiguration () const =0
 

Detailed Description

Mock directive handler.

Member Function Documentation

◆ MOCK_CONST_METHOD0()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_CONST_METHOD0 ( getConfiguration  ,
avs::DirectiveHandlerConfiguration()   
)

◆ MOCK_METHOD0()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_METHOD0 ( onDeregistered  ,
void()   
)

◆ MOCK_METHOD1() [1/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_METHOD1 ( handleDirectiveImmediately  ,
void(std::shared_ptr< avs::AVSDirective >)   
)

◆ MOCK_METHOD1() [2/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_METHOD1 ( handleDirective  ,
bool(const std::string &)   
)

◆ MOCK_METHOD1() [3/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_METHOD1 ( cancelDirective  ,
void(const std::string &)   
)

◆ MOCK_METHOD2()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockDirectiveHandler::MOCK_METHOD2 ( preHandleDirective  ,
void(const std::shared_ptr< avsCommon::avs::AVSDirective > &, const std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerResultInterface > &)   
)

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