AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
CapabilitySemanticsTest.cpp File Reference
#include <AVSCommon/AVS/CapabilitySemantics/CapabilitySemantics.h>
#include <gtest/gtest.h>
#include <rapidjson/document.h>
Include dependency graph for CapabilitySemanticsTest.cpp:

Classes

class  alexaClientSDK::avsCommon::avs::test::CapabilitySemanticsTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::avs
 
 alexaClientSDK::avsCommon::avs::test
 

Functions

void alexaClientSDK::avsCommon::avs::test::validateJson (const std::string &providedJson, const std::string &expectedJson)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_actions_emptyAction)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_actions_emptyDirectiveName)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_actions_duplicateAction)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_actions_noActions)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_actions_noDirective)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesValue_emptyState)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesValue_duplicateState)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesValue_noStates)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesValue_noValue)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesRange_emptyState)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesRange_duplicateState)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesRange_noStates)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesRange_noRange)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_statesRange_invertedRange)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_semantics_noMappings)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_semantics_invalidActionsDirectiveMapping)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_semantics_invalidStatesValueMapping)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_semantics_invalidStatesRangeMapping)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_validateJson_semanticsMultipleActionMappings)
 
 alexaClientSDK::avsCommon::avs::test::TEST_F (CapabilitySemanticsTest, test_validateJson_semanticsComplete)
 

Variables

static std::string alexaClientSDK::avsCommon::avs::test::JSON_SEMANTICS_MULTIPLE_ACTIONS
 
static std::string alexaClientSDK::avsCommon::avs::test::JSON_SEMANTICS_COMPLETE
 
static std::string alexaClientSDK::avsCommon::avs::test::JSON_EMPTY_OBJECT = "{}"
 Empty JSON object. More...
 
static std::string alexaClientSDK::avsCommon::avs::test::ACTION_OPEN = "Alexa.Actions.Open"
 
static std::string alexaClientSDK::avsCommon::avs::test::ACTION_CLOSE = "Alexa.Actions.Close"
 
static std::string alexaClientSDK::avsCommon::avs::test::ACTION_RAISE = "Alexa.Actions.Raise"
 
static std::string alexaClientSDK::avsCommon::avs::test::ACTION_LOWER = "Alexa.Actions.Lower"
 
static std::string alexaClientSDK::avsCommon::avs::test::STATE_OPEN = "Alexa.States.Open"
 
static std::string alexaClientSDK::avsCommon::avs::test::STATE_CLOSED = "Alexa.States.Closed"
 
static std::string alexaClientSDK::avsCommon::avs::test::DIRECTIVE_TURNOFF = "TurnOff"
 
static std::string alexaClientSDK::avsCommon::avs::test::DIRECTIVE_SETMODE = "SetMode"
 
static std::string alexaClientSDK::avsCommon::avs::test::DIRECTIVE_SETRANGE = "SetRangeValue"
 
static std::string alexaClientSDK::avsCommon::avs::test::DIRECTIVE_ADJUSTRANGE = "AdjustRangeValue"
 

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