AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
EndpointBuilderTest.cpp File Reference
#include <gtest/gtest.h>
#include <AVSCommon/SDKInterfaces/MockCapabilityConfigurationInterface.h>
#include <AVSCommon/SDKInterfaces/MockContextManager.h>
#include <AVSCommon/SDKInterfaces/MockDirectiveHandler.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <Endpoints/EndpointBuilder.h>
#include <MockAlexaInterfaceMessageSenderInternal.h>
Include dependency graph for EndpointBuilderTest.cpp:

Classes

class  alexaClientSDK::endpoints::test::EndpointBuilderTest
 Test harness for EndpointBuilder class. More...
 

Namespaces

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

Functions

 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullDeviceInfo)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullContextManager)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullExceptionSender)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullAlexaMessageSender)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_createEndpointBuilderWithoutPointerSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withConfigurationFinalized)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withDerivedEndpointIdLengthExceeded)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withDerivedEndpointIdSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_attributesUpdatedSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withEndpointIdInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withFriendlyNameInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withDescriptionInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withManufacturerNameInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withDisplayCategoryInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withAdditionalAttributesInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withConnectionsInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCookiesInvalid)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withPowerControllerNotEnabled)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withToggleControllerNotEnabled)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withModeControllerNotEnabled)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withRangeControllerNotEnabled)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilitySuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityNullConfigurationInterface)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityNullDirectiveHandler)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityInvalidConfiguration)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityUsingInterfaceSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationNullConfigurationInterface)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationNullConfiguration)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_buildSuccess)
 
 alexaClientSDK::endpoints::test::TEST_F (EndpointBuilderTest, test_buildDuplicate)
 

Variables

static const std::string alexaClientSDK::endpoints::test::EMPTY_STRING = ""
 
static const std::shared_ptr< avsCommon::avs::CapabilityConfiguration > alexaClientSDK::endpoints::test::VALID_CAPABILITY_CONFIGURATION
 
static const std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > alexaClientSDK::endpoints::test::VALID_CAPABILITY_CONFIGURATION_SET {VALID_CAPABILITY_CONFIGURATION}
 
static const std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > alexaClientSDK::endpoints::test::INVALID_CAPABILITY_CONFIGURATION_SET {nullptr}
 

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