15 #ifndef ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTOBSERVER_H_ 16 #define ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTOBSERVER_H_ 24 namespace aplCapabilityCommonInterfaces {
33 onAPLDocumentSessionAvailableTest,
41 std::unique_ptr<APLDocumentSessionInterface>&& session) {
42 onAPLDocumentSessionAvailableTest(presentationSession, token, session.get());
56 const std::chrono::steady_clock::time_point& timestamp));
82 #endif // ACSDK_APLCAPABILITYCOMMONINTERFACES_MOCKAPLDOCUMENTOBSERVER_H_ Definition: APLEventPayload.h:137
Definition: APLEventPayload.h:86
void onAPLDocumentSessionAvailable(const PresentationSession &presentationSession, const PresentationToken &token, std::unique_ptr< APLDocumentSessionInterface > &&session)
Definition: MockAPLDocumentObserver.h:38
Definition: PresentationSession.h:40
MOCK_METHOD2(onActiveDocumentChanged, void(const PresentationToken &token, const alexaClientSDK::aplCapabilityCommonInterfaces::PresentationSession &session))
Definition: APLEventPayload.h:178
MOCK_METHOD3(onAPLDocumentSessionAvailableTest, void(const PresentationSession &presentationSession, const PresentationToken &token, APLDocumentSessionInterface *session))
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
virtual void onDataSourceFetch(const aplEventPayload::DataSourceFetch &payload)=0
unsigned int ContextRequestToken
Alias for the token used to identify a context request.
Definition: ContextRequestToken.h:23
virtual void onRuntimeError(const aplEventPayload::RuntimeError &payload)=0
MOCK_METHOD4(onRenderDocumentComplete, void(const PresentationToken &token, bool result, const std::string &error, const std::chrono::steady_clock::time_point ×tamp))
virtual void onSessionEnded(const PresentationSession &presentationSession)=0
MOCK_METHOD1(onDocumentFinished, void(const PresentationToken &token))
std::string PresentationToken
Alias for the token used by APL directives.
Definition: PresentationToken.h:22
virtual void onDocumentFinished(const PresentationToken &token)=0
Definition: APLDocumentSessionInterface.h:37
virtual void onActiveDocumentChanged(const PresentationToken &token, const PresentationSession &session)=0
virtual void onActivityEvent(const PresentationToken &token, const avsCommon::sdkInterfaces::GUIActivityEvent &event)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
GUIActivityEvent
Enumeration of activity events used to indicate the state of a GUI.
Definition: GUIActivityEvent.h:27
Definition: APLDocumentObserverInterface.h:36
virtual void onDataSourceUpdateComplete(const PresentationToken &token, bool result, const std::string &error)=0
virtual void onCommandExecutionComplete(const PresentationToken &token, APLCommandExecutionEvent result, const std::string &error)=0
virtual void onRenderDocumentComplete(const PresentationToken &token, bool result, const std::string &error, const std::chrono::steady_clock::time_point ×tamp)=0
APLCommandExecutionEvent
Enumeration of APL Command Execution Events that can be reported to the APL capability agent...
Definition: APLCommandExecutionEvent.h:27
virtual void onVisualContextAvailable(const avsCommon::sdkInterfaces::ContextRequestToken requestToken, const aplEventPayload::VisualContext &context)=0
Definition: MockAPLDocumentObserver.h:30