![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Member Functions | |
AttachmentWriterTest ()=default | |
void | init () |
void | testMultipleReads (bool closeWriterBeforeReading) |
![]() | |
virtual | ~Test () |
Public Attributes | |
std::shared_ptr< InProcessSDS > | m_sds |
The commonly used SDS in these tests. More... | |
std::unique_ptr< InProcessAttachmentReader > | m_reader |
The commonly used reader in these tests. More... | |
std::unique_ptr< InProcessAttachmentWriter > | m_writer |
The commonly used writer in these tests. More... | |
std::vector< uint8_t > | m_testPattern |
The commonly used test pattern in these tests. More... | |
Additional Inherited Members | |
![]() | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
![]() | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
![]() | |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
A class which helps drive this unit test suite.
|
default |
Constructor.
void alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::init | ( | ) |
A function to nitilialize class data structures as needed.
void alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::testMultipleReads | ( | bool | closeWriterBeforeReading | ) |
A utility function to wrap up an important test for reading test data in multiple passes, and testing various points of progress.
closeWriterBeforeReading | Indicating if the test should close the writer before performing reads. |
std::unique_ptr<InProcessAttachmentReader> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_reader |
The commonly used reader in these tests.
std::shared_ptr<InProcessSDS> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_sds |
The commonly used SDS in these tests.
std::vector<uint8_t> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_testPattern |
The commonly used test pattern in these tests.
std::unique_ptr<InProcessAttachmentWriter> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_writer |
The commonly used writer in these tests.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0