AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::playlistParser::test::ContentDecrypterTest Class Reference

Test class for ContentDecrypter class. More...

Inheritance diagram for alexaClientSDK::playlistParser::test::ContentDecrypterTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::playlistParser::test::ContentDecrypterTest:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 Configure test instance. More...
 
void TearDown () override
 Tear down test instance. More...
 
std::string readDecryptedContent (size_t readSize)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

std::shared_ptr< InProcessAttachmentm_attachment
 Attachment used for writing decrypted content. More...
 
std::shared_ptr< AttachmentWriterm_writer
 Writer to write decrypted content. More...
 
std::shared_ptr< AttachmentReaderm_reader
 Reader to read decrypted content. More...
 
std::shared_ptr< ContentDecrypterm_decrypter
 Instance of the IterativePlaylistParser. More...
 
std::shared_ptr< Id3TagsRemoverm_id3TagsRemover
 Instance of the ID3TagsRemover. More...
 

Additional Inherited Members

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

Detailed Description

Test class for ContentDecrypter class.

Member Function Documentation

◆ readDecryptedContent()

std::string alexaClientSDK::playlistParser::test::ContentDecrypterTest::readDecryptedContent ( size_t  readSize)
protected

Helper method to read a string from attachment reader.

Parameters
readSizeThe size of content that needs to be read.
Returns
The string that has been read from the attachment reader.

◆ SetUp()

void alexaClientSDK::playlistParser::test::ContentDecrypterTest::SetUp ( )
overrideprotectedvirtual

Configure test instance.

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::playlistParser::test::ContentDecrypterTest::TearDown ( )
overrideprotectedvirtual

Tear down test instance.

Reimplemented from testing::Test.

Member Data Documentation

◆ m_attachment

std::shared_ptr<InProcessAttachment> alexaClientSDK::playlistParser::test::ContentDecrypterTest::m_attachment
protected

Attachment used for writing decrypted content.

◆ m_decrypter

std::shared_ptr<ContentDecrypter> alexaClientSDK::playlistParser::test::ContentDecrypterTest::m_decrypter
protected

Instance of the IterativePlaylistParser.

◆ m_id3TagsRemover

std::shared_ptr<Id3TagsRemover> alexaClientSDK::playlistParser::test::ContentDecrypterTest::m_id3TagsRemover
protected

Instance of the ID3TagsRemover.

◆ m_reader

std::shared_ptr<AttachmentReader> alexaClientSDK::playlistParser::test::ContentDecrypterTest::m_reader
protected

Reader to read decrypted content.

◆ m_writer

std::shared_ptr<AttachmentWriter> alexaClientSDK::playlistParser::test::ContentDecrypterTest::m_writer
protected

Writer to write decrypted content.


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