16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_COMMON_TESTABLEATTACHMENTWRITER_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_COMMON_TESTABLEATTACHMENTWRITER_H_ 40 std::shared_ptr<avsCommon::utils::sds::InProcessSDS> dummySDS,
41 std::unique_ptr<avsCommon::avs::attachment::AttachmentWriter> writer);
47 std::chrono::milliseconds timeout)
override;
49 void close()
override;
53 std::unique_ptr<avsCommon::avs::attachment::AttachmentWriter> m_writer;
55 bool m_hasWriteBeenInvoked;
62 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_COMMON_TESTABLEATTACHMENTWRITER_H_ std::size_t write(const void *buf, std::size_t numBytes, WriteStatus *writeStatus, std::chrono::milliseconds timeout) override
Definition: TestableAttachmentWriter.cpp:34
TestableAttachmentWriter(std::shared_ptr< avsCommon::utils::sds::InProcessSDS > dummySDS, std::unique_ptr< avsCommon::avs::attachment::AttachmentWriter > writer)
Definition: TestableAttachmentWriter.cpp:26
Definition: InProcessAttachmentWriter.h:34
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void close() override
Definition: TestableAttachmentWriter.cpp:58
WriteStatus
Definition: AttachmentWriter.h:36
Definition: TestableAttachmentWriter.h:30