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::adsl::test::DirectiveRouterTest Class Reference
Inheritance diagram for alexaClientSDK::adsl::test::DirectiveRouterTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::adsl::test::DirectiveRouterTest:
Collaboration graph
[legend]

Public Member Functions

void SetUp () override
 
void TearDown () override
 
std::shared_ptr< AVSDirectivecreateDirective (const std::string &endpointId, const utils::Optional< std::string > &instance, const std::string &nameSpace, const std::string &name) const
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Public Attributes

DirectiveRouter m_router
 A DirectiveRouter instance to test with. More...
 
std::shared_ptr< AttachmentManagerm_attachmentManager
 AttachmentManager with which to create directives. More...
 
std::shared_ptr< AVSDirectivem_directive_0_0
 Generic AVSDirective for tests. More...
 
std::shared_ptr< AVSDirectivem_directive_0_1
 Generic AVSDirective for tests. More...
 
std::shared_ptr< AVSDirectivem_directive_0_2
 Generic AVSDirective for tests. More...
 
std::shared_ptr< AVSDirectivem_directive_1_0
 Generic AVSDirective for tests. More...
 
std::shared_ptr< AVSDirectivem_directive_2_0
 Generic AVSDirective for 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 ()
 

Detailed Description

DirectiveRouterTest

Member Function Documentation

◆ createDirective()

std::shared_ptr< AVSDirective > alexaClientSDK::adsl::test::DirectiveRouterTest::createDirective ( const std::string &  endpointId,
const utils::Optional< std::string > &  instance,
const std::string &  nameSpace,
const std::string &  name 
) const

Create a directive with the given attributes.

Parameters
endpointIdThe target endpointId.
instanceThe instance name.
nameSpaceThe directive name space.
nameThe directive name.
Returns
A pointer to a new directive.

◆ SetUp()

void alexaClientSDK::adsl::test::DirectiveRouterTest::SetUp ( )
overridevirtual

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::adsl::test::DirectiveRouterTest::TearDown ( )
overridevirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ m_attachmentManager

std::shared_ptr<AttachmentManager> alexaClientSDK::adsl::test::DirectiveRouterTest::m_attachmentManager

AttachmentManager with which to create directives.

◆ m_directive_0_0

std::shared_ptr<AVSDirective> alexaClientSDK::adsl::test::DirectiveRouterTest::m_directive_0_0

Generic AVSDirective for tests.

◆ m_directive_0_1

std::shared_ptr<AVSDirective> alexaClientSDK::adsl::test::DirectiveRouterTest::m_directive_0_1

Generic AVSDirective for tests.

◆ m_directive_0_2

std::shared_ptr<AVSDirective> alexaClientSDK::adsl::test::DirectiveRouterTest::m_directive_0_2

Generic AVSDirective for tests.

◆ m_directive_1_0

std::shared_ptr<AVSDirective> alexaClientSDK::adsl::test::DirectiveRouterTest::m_directive_1_0

Generic AVSDirective for tests.

◆ m_directive_2_0

std::shared_ptr<AVSDirective> alexaClientSDK::adsl::test::DirectiveRouterTest::m_directive_2_0

Generic AVSDirective for tests.

◆ m_router

DirectiveRouter alexaClientSDK::adsl::test::DirectiveRouterTest::m_router

A DirectiveRouter instance to test with.


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