AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
DirectiveSequencerTest. More...
Public Member Functions | |
void | SetUp () override |
void | TearDown () override |
void | setDialogRequestId (std::string dialogRequestId) |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
Public Attributes | |
std::shared_ptr< MockDirectiveHandler > | m_doneHandler |
Handler to invoke for the Test::Done directive. More... | |
std::shared_ptr< MockExceptionEncounteredSender > | m_exceptionEncounteredSender |
Mock ExceptionEncounteredSender. More... | |
std::shared_ptr< MockShutdownNotifier > | m_shutdownNotifier |
Mock ShutdownNotifier. More... | |
std::shared_ptr< DirectiveSequencerInterface > | m_sequencer |
The DirectiveSequencer to test. More... | |
std::shared_ptr< AttachmentManager > | m_attachmentManager |
AttachmentManager with which to create directives. 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 () | |
void alexaClientSDK::adsl::test::DirectiveSequencerTest::setDialogRequestId | ( | std::string | dialogRequestId | ) |
SetDialogRequestId(). Tests should use this method rather than m_sequencer->setDialogRequestId() so that TearDown()
knows which DialogRequestId
to use for the Test::Done directive.
dialogRequestId | The new value for DialogRequestId. |
|
overridevirtual |
Setup the DirectiveSequencerTest. Creates a DirectiveSequencer and initialized it with a DirectiveHandler that allows waiting for a final directive to be processed.
Reimplemented from testing::Test.
|
overridevirtual |
TearDown the DirectiveSequencerTest. Sends a Test.Done directive with the current dialogRequestId and waits for it to be handled before allowing the test to complete.
Reimplemented from testing::Test.
std::shared_ptr<AttachmentManager> alexaClientSDK::adsl::test::DirectiveSequencerTest::m_attachmentManager |
AttachmentManager with which to create directives.
std::shared_ptr<MockDirectiveHandler> alexaClientSDK::adsl::test::DirectiveSequencerTest::m_doneHandler |
Handler to invoke for the Test::Done directive.
std::shared_ptr<MockExceptionEncounteredSender> alexaClientSDK::adsl::test::DirectiveSequencerTest::m_exceptionEncounteredSender |
Mock ExceptionEncounteredSender.
std::shared_ptr<DirectiveSequencerInterface> alexaClientSDK::adsl::test::DirectiveSequencerTest::m_sequencer |
The DirectiveSequencer to test.
std::shared_ptr<MockShutdownNotifier> alexaClientSDK::adsl::test::DirectiveSequencerTest::m_shutdownNotifier |
Mock ShutdownNotifier.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0