AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Typedefs | Functions | Variables
VCConfigParserTest.cpp File Reference
#include <vector>
#include <gtest/gtest.h>
#include <acsdk/VisualCharacteristicsInterfaces/VisualCharacteristicsInterface.h>
#include "acsdk/VisualCharacteristics/private/VCConfigParser.h"
Include dependency graph for VCConfigParserTest.cpp:

Classes

class  alexaClientSDK::visualCharacteristics::VCConfigParserTest
 Test harness for VisualCharacteristics class. More...
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::visualCharacteristics
 

Typedefs

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

Functions

static ConfigurationNode alexaClientSDK::visualCharacteristics::getConfigurationNode (const std::string &jsonConfig)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testParseInteractionModes)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testParseWindowTemplates)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testParseDisplayCharacteristics)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testSerializeInteractionModes)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testSerializeWindowTemplates)
 
 alexaClientSDK::visualCharacteristics::TEST_F (VCConfigParserTest, testSerializeDisplayCharacteristics)
 

Variables

static const std::string alexaClientSDK::visualCharacteristics::INTERACTION_MODES = "interactionModes"
 
static const std::string alexaClientSDK::visualCharacteristics::TEMPLATES = "templates"
 
static const std::string alexaClientSDK::visualCharacteristics::CONFIG_INTERACTIONMODE
 
static const InteractionMode alexaClientSDK::visualCharacteristics::INTERACTION_MODE_STANDARD
 
static const InteractionMode alexaClientSDK::visualCharacteristics::INTERACTION_MODE_OVERLAY
 
static const std::vector< InteractionMode > alexaClientSDK::visualCharacteristics::EXPECTED_INTERACTION_MODES
 
static const std::string alexaClientSDK::visualCharacteristics::CONFIG_WINDOW
 
static const Dimension alexaClientSDK::visualCharacteristics::DIMENSION_FULL_SCREEN = {Dimension::Unit::PIXEL, 1920, 1080}
 
static const WindowSize alexaClientSDK::visualCharacteristics::SIZE_FULL_SCREEN
 
static const std::vector< WindowSize > alexaClientSDK::visualCharacteristics::SIZES_FULL_SCREEN {SIZE_FULL_SCREEN}
 
static const std::vector< std::string > alexaClientSDK::visualCharacteristics::INTERACTION_MODES_FULL_SCREEN {"tv"}
 
static const WindowTemplate alexaClientSDK::visualCharacteristics::TEMPLATE_FULL_SCREEN
 
static const Dimension alexaClientSDK::visualCharacteristics::DIMENSION_OVERLAY = {Dimension::Unit::PIXEL, 1920, 400}
 
static const WindowSize alexaClientSDK::visualCharacteristics::SIZE_LANDSCAPE_PANEL
 
static const std::vector< WindowSize > alexaClientSDK::visualCharacteristics::SIZES_OVERLAY {SIZE_LANDSCAPE_PANEL}
 
static const std::vector< std::string > alexaClientSDK::visualCharacteristics::INTERACTION_MODES_OVERLAY {"tv_overlay"}
 
static const WindowTemplate alexaClientSDK::visualCharacteristics::TEMPLATE_OVERLAY
 
static const std::vector< WindowTemplate > alexaClientSDK::visualCharacteristics::EXPECTED_TEMPLATES {TEMPLATE_FULL_SCREEN, TEMPLATE_OVERLAY}
 
static const std::string alexaClientSDK::visualCharacteristics::CONFIG_DISPLAY
 
static const Dimension alexaClientSDK::visualCharacteristics::RESOLUTION = {Dimension::Unit::PIXEL, 1920, 1080}
 
static const Dimension alexaClientSDK::visualCharacteristics::PHYSICAL_SIZE = {Dimension::Unit::INCHES, 56.7, 31.9}
 
static const Dimension alexaClientSDK::visualCharacteristics::DENSITY_INDEPENDENT_RESOLUTION = {Dimension::Unit::DP, 960, 540}
 
static const std::vector< DisplayCharacteristics::TouchType > alexaClientSDK::visualCharacteristics::TOUCH_TYPES
 
static const DisplayCharacteristics alexaClientSDK::visualCharacteristics::EXPECTED_DISPLAY_CHARACTERISTICS
 

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