AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Typedefs | Functions | Variables
alexaClientSDK::afml::interruptModel::test Namespace Reference

Classes

class  InterruptModelTest
 

Typedefs

using JSONStream = std::vector< std::shared_ptr< std::istream > >
 Alias for JSON stream type used in ConfigurationNode initialization. More...
 

Functions

 TEST_F (InterruptModelTest, test_emptyConfiguration)
 
 TEST_F (InterruptModelTest, test_NonExistentChannelConfigReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_MissingContentTypeKeyReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_MissingMixingBehaviorKeyReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_MissingConfigReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_MissingIncomingChannelKeyReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_UnspecifiedMixingBehaviorKeyReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_UnspecifiedIncomingMixingBehaviorReturnsUndefined)
 
 TEST_F (InterruptModelTest, test_InvalidIncomingMixingBehaviorReturnsUndefined)
 

Variables

static const std::string CONTENT_CHANNEL = "Content"
 
static const std::string DIALOG_CHANNEL = "Dialog"
 
static const std::string ALERT_CHANNEL = "Alert"
 
static const ContentType MIXABLE_CONTENT_TYPE = ContentType::MIXABLE
 
static const ContentType NONMIXABLE_CONTENT_TYPE = ContentType::NONMIXABLE
 
static const ContentType INVALID_CONTENT_TYPE = ContentType::NUM_CONTENT_TYPE
 
static const std::string INTERRUPT_MODEL_KEY = "interruptModel"
 
static const std::string INVALID_CONFIG_KEY = "invalidkey"
 
static const std::string NONEXISTENT_CHANNEL = "mysteryChannel"
 
static const std::string VIRTUAL_CHANNEL1 = "VirtualChannel1"
 
static const std::string VIRTUAL_CHANNEL2 = "VirtualChannel2"
 
static const std::string CONTENT_TYPE_KEY = "contentType"
 
static const std::string CONFIG_JSON
 

Typedef Documentation

◆ JSONStream

using alexaClientSDK::afml::interruptModel::test::JSONStream = typedef std::vector<std::shared_ptr<std::istream> >

Alias for JSON stream type used in ConfigurationNode initialization.

Function Documentation

◆ TEST_F() [1/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_emptyConfiguration   
)

◆ TEST_F() [2/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_NonExistentChannelConfigReturnsUndefined   
)

◆ TEST_F() [3/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_MissingContentTypeKeyReturnsUndefined   
)

◆ TEST_F() [4/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_MissingMixingBehaviorKeyReturnsUndefined   
)

◆ TEST_F() [5/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_MissingConfigReturnsUndefined   
)

◆ TEST_F() [6/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_MissingIncomingChannelKeyReturnsUndefined   
)

◆ TEST_F() [7/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_UnspecifiedMixingBehaviorKeyReturnsUndefined   
)

◆ TEST_F() [8/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_UnspecifiedIncomingMixingBehaviorReturnsUndefined   
)

◆ TEST_F() [9/9]

alexaClientSDK::afml::interruptModel::test::TEST_F ( InterruptModelTest  ,
test_InvalidIncomingMixingBehaviorReturnsUndefined   
)

Variable Documentation

◆ ALERT_CHANNEL

const std::string alexaClientSDK::afml::interruptModel::test::ALERT_CHANNEL = "Alert"
static

◆ CONFIG_JSON

const std::string alexaClientSDK::afml::interruptModel::test::CONFIG_JSON
static

◆ CONTENT_CHANNEL

const std::string alexaClientSDK::afml::interruptModel::test::CONTENT_CHANNEL = "Content"
static

◆ CONTENT_TYPE_KEY

const std::string alexaClientSDK::afml::interruptModel::test::CONTENT_TYPE_KEY = "contentType"
static

◆ DIALOG_CHANNEL

const std::string alexaClientSDK::afml::interruptModel::test::DIALOG_CHANNEL = "Dialog"
static

◆ INTERRUPT_MODEL_KEY

const std::string alexaClientSDK::afml::interruptModel::test::INTERRUPT_MODEL_KEY = "interruptModel"
static

◆ INVALID_CONFIG_KEY

const std::string alexaClientSDK::afml::interruptModel::test::INVALID_CONFIG_KEY = "invalidkey"
static

◆ INVALID_CONTENT_TYPE

const ContentType alexaClientSDK::afml::interruptModel::test::INVALID_CONTENT_TYPE = ContentType::NUM_CONTENT_TYPE
static

◆ MIXABLE_CONTENT_TYPE

const ContentType alexaClientSDK::afml::interruptModel::test::MIXABLE_CONTENT_TYPE = ContentType::MIXABLE
static

◆ NONEXISTENT_CHANNEL

const std::string alexaClientSDK::afml::interruptModel::test::NONEXISTENT_CHANNEL = "mysteryChannel"
static

◆ NONMIXABLE_CONTENT_TYPE

const ContentType alexaClientSDK::afml::interruptModel::test::NONMIXABLE_CONTENT_TYPE = ContentType::NONMIXABLE
static

◆ VIRTUAL_CHANNEL1

const std::string alexaClientSDK::afml::interruptModel::test::VIRTUAL_CHANNEL1 = "VirtualChannel1"
static

◆ VIRTUAL_CHANNEL2

const std::string alexaClientSDK::afml::interruptModel::test::VIRTUAL_CHANNEL2 = "VirtualChannel2"
static

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