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

Public Types

using ReaderVec = std::vector< std::unique_ptr< AttachmentReader > >
 Local type aliases. More...
using WriterVec = std::vector< std::unique_ptr< AttachmentWriter > >
- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc

Public Member Functions

 AttachmentManagerTest ()
void createWriters (WriterVec *writers)
void testWriters (const WriterVec &writers, bool expectedValid)
void createReaders (ReaderVec *readers)
void testReaders (const ReaderVec &readers, bool expectedValid)
- Public Member Functions inherited from testing::Test
virtual ~Test ()

Public Attributes

AttachmentManager m_manager
 A local AttachmentManager object. More...

Additional Inherited Members

- 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.

Member Typedef Documentation

◆ ReaderVec

Local type aliases.

◆ WriterVec

Constructor & Destructor Documentation

◆ AttachmentManagerTest()

alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::AttachmentManagerTest ( )


Member Function Documentation

◆ createReaders()

void alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::createReaders ( ReaderVec readers)

Utility function for creating three reader futures, and inserting them into the vector.

◆ createWriters()

void alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::createWriters ( WriterVec writers)

Utility function for creating three writer futures, and inserting them into the vector.

◆ testReaders()

void alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::testReaders ( const ReaderVec readers,
bool  expectedValid 

Utility function for testing reader futures.

◆ testWriters()

void alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::testWriters ( const WriterVec writers,
bool  expectedValid 

Utility function for testing writer futures.

Member Data Documentation

◆ m_manager

AttachmentManager alexaClientSDK::avsCommon::avs::test::AttachmentManagerTest::m_manager

A local AttachmentManager object.

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

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