16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_AVSCOMMON_AVS_ATTACHMENT_MOCKATTACHMENTMANAGER_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_AVSCOMMON_AVS_ATTACHMENT_MOCKATTACHMENTMANAGER_H_ 29 namespace attachment {
51 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_AVSCOMMON_AVS_ATTACHMENT_MOCKATTACHMENTMANAGER_H_ WriterPolicy
Specifies the policy to use for writing to the stream.
Definition: WriterPolicy.h:25
MOCK_METHOD1(setAttachmentTimeoutMinutes, bool(std::chrono::minutes timeoutMinutes))
virtual bool setAttachmentTimeoutMinutes(std::chrono::minutes timeoutMinutes)=0
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
virtual std::string generateAttachmentId(const std::string &contextId, const std::string &contentId) const =0
virtual std::unique_ptr< AttachmentWriter > createWriter(const std::string &attachmentId, utils::sds::WriterPolicy policy=avsCommon::utils::sds::WriterPolicy::ALL_OR_NOTHING)=0
Definition: AttachmentManagerInterface.h:37
Mock class that implements the AttachmentManager.
Definition: MockAttachmentManager.h:33
virtual std::unique_ptr< AttachmentReader > createReader(const std::string &attachmentId, utils::sds::ReaderPolicy policy)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
ReaderPolicy
Specifies the policy to use for reading from the stream.
Definition: ReaderPolicy.h:25
MOCK_METHOD2(createWriter, std::unique_ptr< AttachmentWriter >(const std::string &attachmentId, utils::sds::WriterPolicy policy))
MOCK_CONST_METHOD2(generateAttachmentId, std::string(const std::string &contextId, const std::string &contentId))