AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest Class Reference
Inheritance diagram for alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest:
Collaboration graph
[legend]

Public Member Functions

 AttachmentWriterTest ()=default
 
void init ()
 
void testMultipleReads (bool closeWriterBeforeReading)
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Public Attributes

std::shared_ptr< InProcessSDSm_sds
 The commonly used SDS in these tests. More...
 
std::unique_ptr< InProcessAttachmentReaderm_reader
 The commonly used reader in these tests. More...
 
std::unique_ptr< InProcessAttachmentWriterm_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

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Static Public Member Functions inherited from testing::Test
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)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Detailed Description

A class which helps drive this unit test suite.

Constructor & Destructor Documentation

◆ AttachmentWriterTest()

alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::AttachmentWriterTest ( )
default

Constructor.

Member Function Documentation

◆ init()

void alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::init ( )

A function to nitilialize class data structures as needed.

◆ testMultipleReads()

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.

Parameters
closeWriterBeforeReadingIndicating if the test should close the writer before performing reads.

Member Data Documentation

◆ m_reader

std::unique_ptr<InProcessAttachmentReader> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_reader

The commonly used reader in these tests.

◆ m_sds

std::shared_ptr<InProcessSDS> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_sds

The commonly used SDS in these tests.

◆ m_testPattern

std::vector<uint8_t> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_testPattern

The commonly used test pattern in these tests.

◆ m_writer

std::unique_ptr<InProcessAttachmentWriter> alexaClientSDK::avsCommon::avs::test::AttachmentWriterTest::m_writer

The commonly used writer in these tests.


The documentation for this class was generated from the following file:

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