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

Public Member Functions

void SetUp () override
 Set up the test harness for running a test. More...
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Protected Attributes

std::promise< long > m_statusCodePromise
 A promise to the caller of getContent() that the HTTP status code will be set. More...
 
std::promise< std::string > m_contentTypePromise
 A promise to the caller of getContent() that the HTTP content type will be set. More...
 
std::unique_ptr< HTTPContentm_httpContent
 The HTTPContent for testing. 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 TearDown ()
 

Detailed Description

Class for testing the HTTPContent structure.

Member Function Documentation

◆ SetUp()

void alexaClientSDK::avsCommon::utils::logger::test::HTTPContentTest::SetUp ( )
overridevirtual

Set up the test harness for running a test.

Reimplemented from testing::Test.

Member Data Documentation

◆ m_contentTypePromise

std::promise<std::string> alexaClientSDK::avsCommon::utils::logger::test::HTTPContentTest::m_contentTypePromise
protected

A promise to the caller of getContent() that the HTTP content type will be set.

◆ m_httpContent

std::unique_ptr<HTTPContent> alexaClientSDK::avsCommon::utils::logger::test::HTTPContentTest::m_httpContent
protected

The HTTPContent for testing.

◆ m_statusCodePromise

std::promise<long> alexaClientSDK::avsCommon::utils::logger::test::HTTPContentTest::m_statusCodePromise
protected

A promise to the caller of getContent() that the HTTP status code will be set.


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