AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
MockAPLDocumentSession.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 #ifndef ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTSESSION_H_
16 #define ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTSESSION_H_
17 
18 #include <gmock/gmock.h>
19 
21 
22 namespace alexaClientSDK {
23 namespace aplCapabilityCommonInterfaces {
24 namespace test {
25 
30 public:
31  MOCK_METHOD0(clearDocument, void());
32  MOCK_METHOD1(executeCommands, void(const std::string& commands));
33  MOCK_METHOD2(dataSourceUpdate, void(const std::string& sourceType, const std::string& payload));
37  MOCK_METHOD1(updateTimeout, void(std::chrono::milliseconds timeout));
38  MOCK_METHOD0(stopTimeout, void());
39  MOCK_METHOD0(resetTimeout, void());
43 };
44 
45 } // namespace test
46 } // namespace aplCapabilityCommonInterfaces
47 } // namespace alexaClientSDK
48 
49 #endif // ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTSESSION_H_
MOCK_METHOD2(dataSourceUpdate, void(const std::string &sourceType, const std::string &payload))
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
virtual void updateLifespan(presentationOrchestratorInterfaces::PresentationLifespan lifespan)=0
unsigned int ContextRequestToken
Alias for the token used to identify a context request.
Definition: ContextRequestToken.h:23
virtual void updateTimeout(std::chrono::milliseconds timeout)=0
std::string PresentationToken
Alias for the token used by APL directives.
Definition: PresentationToken.h:22
virtual void dataSourceUpdate(const std::string &sourceType, const std::string &payload)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void provideDocumentContext(const avsCommon::sdkInterfaces::ContextRequestToken stateRequestToken)=0
PresentationLifespan
Definition: PresentationTypes.h:27
MOCK_METHOD1(executeCommands, void(const std::string &commands))

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