![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
| class | DefaultEndpointBuilderTest |
Test harness for EndpointBuilder class. More... | |
| class | EndpointAttributeValidationTest |
| class | EndpointBuilderTest |
Test harness for EndpointBuilder class. More... | |
| class | EndpointRegistrationManagerTest |
| class | EndpointTest |
Test harness for Endpoint class. More... | |
Functions | |
| TEST_F (DefaultEndpointBuilderTest, test_createDefaultEndpointBuilderInterface) | |
| TEST_F (DefaultEndpointBuilderTest, test_createDefaultEndpointBuilderInterfaceInvalidBuilder) | |
| TEST_F (DefaultEndpointBuilderTest, test_cannotUpdateDefaultAttributes) | |
| TEST_F (DefaultEndpointBuilderTest, test_withDisplayCategory) | |
| TEST_F (DefaultEndpointBuilderTest, test_withConnections) | |
| TEST_F (DefaultEndpointBuilderTest, test_withCookies) | |
| TEST_F (DefaultEndpointBuilderTest, test_withPowerControllerNotEnabled) | |
| TEST_F (DefaultEndpointBuilderTest, test_withToggleControllerNotEnabled) | |
| TEST_F (DefaultEndpointBuilderTest, test_withModeControllerNotEnabled) | |
| TEST_F (DefaultEndpointBuilderTest, test_withRangeControllerNotEnabled) | |
| TEST_F (DefaultEndpointBuilderTest, test_withCapability) | |
| TEST_F (DefaultEndpointBuilderTest, test_withCapabilityInterface) | |
| TEST_F (DefaultEndpointBuilderTest, test_withCapabilityConfiguration) | |
| TEST_F (DefaultEndpointBuilderTest, test_buildSuccess) | |
| TEST_F (DefaultEndpointBuilderTest, test_buildDuplicate) | |
| TEST_F (EndpointAttributeValidationTest, test_validEndpointIdLengthBoundaries) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidEndpointIdLengthBoundariesReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validFriendlyNameLengthBoundaries) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidFriendlyNameLengthBoundariesReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validDescriptionLengthBoundaries) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidDescriptionLengthBoundariesReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validManufacturerNameLengthBoundaries) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidManufacturerNameLengthBoundariesReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validManufacturerAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidManufacturerAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validModelAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidModelAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validSerialNumberAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidSerialNumberAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validFirmwareVersionAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidFirmwareVersionAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validSoftwareVersionAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidSoftwareVersionAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validCustomIdentifierAttributeBoundary) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidCustomIdentifierAttributeBoundaryReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validCookiesSize) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidCookiesSizeReturnsFalse) | |
| TEST_F (EndpointAttributeValidationTest, test_validConnectionsReturnsTrue) | |
| TEST_F (EndpointAttributeValidationTest, test_invalidConnectionsReturnsFalse) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullDeviceInfo) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullContextManager) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullExceptionSender) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderNullAlexaMessageSender) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderSuccess) | |
| TEST_F (EndpointBuilderTest, test_createEndpointBuilderWithoutPointerSuccess) | |
| TEST_F (EndpointBuilderTest, test_withConfigurationFinalized) | |
| TEST_F (EndpointBuilderTest, test_withDerivedEndpointIdLengthExceeded) | |
| TEST_F (EndpointBuilderTest, test_withDerivedEndpointIdSuccess) | |
| TEST_F (EndpointBuilderTest, test_attributesUpdatedSuccess) | |
| TEST_F (EndpointBuilderTest, test_withEndpointIdInvalid) | |
| TEST_F (EndpointBuilderTest, test_withFriendlyNameInvalid) | |
| TEST_F (EndpointBuilderTest, test_withDescriptionInvalid) | |
| TEST_F (EndpointBuilderTest, test_withManufacturerNameInvalid) | |
| TEST_F (EndpointBuilderTest, test_withDisplayCategoryInvalid) | |
| TEST_F (EndpointBuilderTest, test_withAdditionalAttributesInvalid) | |
| TEST_F (EndpointBuilderTest, test_withConnectionsInvalid) | |
| TEST_F (EndpointBuilderTest, test_withCookiesInvalid) | |
| TEST_F (EndpointBuilderTest, test_withPowerControllerNotEnabled) | |
| TEST_F (EndpointBuilderTest, test_withToggleControllerNotEnabled) | |
| TEST_F (EndpointBuilderTest, test_withModeControllerNotEnabled) | |
| TEST_F (EndpointBuilderTest, test_withRangeControllerNotEnabled) | |
| TEST_F (EndpointBuilderTest, test_withCapabilitySuccess) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityNullConfigurationInterface) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityNullDirectiveHandler) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityInvalidConfiguration) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityUsingInterfaceSuccess) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationNullConfigurationInterface) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationNullConfiguration) | |
| TEST_F (EndpointBuilderTest, test_withCapabilityConfigurationSuccess) | |
| TEST_F (EndpointBuilderTest, test_buildSuccess) | |
| TEST_F (EndpointBuilderTest, test_buildDuplicate) | |
| TEST_F (EndpointRegistrationManagerTest, test_createWithNullParametersFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_shutdownResolvesPendingPromises) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointSucceeds) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterEndpointSucceeds) | |
| TEST_F (EndpointRegistrationManagerTest, test_updateEndpointSucceeds) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerExsitingEndpointFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterDefaultEndpointFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWhenCapabilityRegistrationEndsWithFatalErrorFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerNullEndpointFailsImmediately) | |
| TEST_F (EndpointRegistrationManagerTest, test_updateEndpointThatDoesNotExistFailsImmediately) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterEndpointThatDoesNotExistFailsImmediately) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWhileRegistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWhileDeregistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWhileUpdateInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterEndpointWhileDeregistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterEndpointWhileRegistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_deregisterEndpointWhileUpdateInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_updateEndpointWhileRegistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_updateEndpointWhileDeregistrationInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_updateEndpointWhileUpdateInProgressFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWithInvalidHandlerFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_registerEndpointWithInvalidCapabilityFails) | |
| TEST_F (EndpointRegistrationManagerTest, test_revertWhenUpdateExistingEndpointFailsDueToCapabilityUpdateEndWithFatalFailure) | |
| TEST_F (EndpointRegistrationManagerTest, test_revertWhenUpdateExistingEndpointFailsDueToUpdateEndpointFail) | |
| TEST_F (EndpointRegistrationManagerTest, test_revertWhenDeregisterEndpointFailsDueToCapabilityRegistrationEndWithFatalFailure) | |
| TEST_F (EndpointRegistrationManagerTest, test_revertWhenDeregisterEndpointFailsDueToDirectiveHandlerFailure) | |
| TEST_F (EndpointTest, test_endpointConstructor) | |
| TEST_F (EndpointTest, test_addRequireShutdownObjects) | |
| TEST_F (EndpointTest, test_getEndpointId) | |
| TEST_F (EndpointTest, test_updateWithValidAttributesAndInvalidEndpointId) | |
| TEST_F (EndpointTest, test_updateWithInvalidAttributesAndValidEndpointAttributes) | |
| TEST_F (EndpointTest, test_updateSuccess) | |
| TEST_F (EndpointTest, test_updateDuplicateCapabilities) | |
| TEST_F (EndpointTest, test_updateSameInterfaceDifferentInstances) | |
| TEST_F (EndpointTest, test_addCapabilityNullDirectiveHandler) | |
| TEST_F (EndpointTest, test_addCapabilityDuplicate) | |
| TEST_F (EndpointTest, test_addCapabilitySuccess) | |
| TEST_F (EndpointTest, test_removeCapabilityThatDoesNotExist) | |
| TEST_F (EndpointTest, test_removeCapabilitySuccess) | |
| TEST_F (EndpointTest, test_addCapabilityConfigurationDuplicate) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidEndpointId) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidFriendlyName) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidDescription) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidManufacturerName) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidAdditionalAttributes) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidConnections) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesInvalidCookies) | |
| TEST_F (EndpointTest, test_validateEndpointAttributesSuccess) | |
| using alexaClientSDK::endpoints::test::DeregistrationResult = typedef EndpointRegistrationManager::DeregistrationResult |
| using alexaClientSDK::endpoints::test::RegistrationResult = typedef EndpointRegistrationManager::RegistrationResult |
| using alexaClientSDK::endpoints::test::UpdateResult = typedef EndpointRegistrationManager::UpdateResult |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validEndpointIdLengthBoundaries | |||
| ) |
Test for checking valid endpointId.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidEndpointIdLengthBoundariesReturnsFalse | |||
| ) |
Test for checking invalid endpointId.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validFriendlyNameLengthBoundaries | |||
| ) |
Test for checking valid endpoint friendly name.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidFriendlyNameLengthBoundariesReturnsFalse | |||
| ) |
Test for checking invalid endpoint friendly name.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_endpointConstructor | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validDescriptionLengthBoundaries | |||
| ) |
Test for checking valid endpoint description field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_addRequireShutdownObjects | |||
| ) |
Tests addRequireShutdownObjects, expecting to successfully update require shutdown objects without errors or crashing. Then expects that doShutdown is called from within the endpoint destructor to release resources.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidDescriptionLengthBoundariesReturnsFalse | |||
| ) |
Test for checking invalid endpoint description field.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_createDefaultEndpointBuilderInterface | |||
| ) |
Tests createDefaultEndpointBuilderInterface with valid parameters, expecting to successfully configure and create default endpoint.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderNullDeviceInfo | |||
| ) |
Tests create with null device info, expecting create to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_getEndpointId | |||
| ) |
Tests getEndpointId, expecting value to be correct.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_createDefaultEndpointBuilderInterfaceInvalidBuilder | |||
| ) |
Tests createDefaultEndpointBuilderInterface with null parameters, expecting to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderNullContextManager | |||
| ) |
Tests create with null context manager, expecting create to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validManufacturerNameLengthBoundaries | |||
| ) |
Test for checking valid manufacturer name field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderNullExceptionSender | |||
| ) |
Tests create with null exception sender, expecting create to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_updateWithValidAttributesAndInvalidEndpointId | |||
| ) |
Tests update with an empty endpoint id, expecting update to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidManufacturerNameLengthBoundariesReturnsFalse | |||
| ) |
Test for checking invalid manufacturer name field.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_cannotUpdateDefaultAttributes | |||
| ) |
Tests that endpoint id, friendly name, description, manufacturer name, and additional attributes cannot be updated after a default endpoint builder is created.
withDerivedEndpointId, withEndpointId, withFriendlyName, withDescription, withManufacturerName, and withAdditionalAttributes. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderNullAlexaMessageSender | |||
| ) |
Tests create with null response sender, expecting create to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_updateWithInvalidAttributesAndValidEndpointAttributes | |||
| ) |
Tests update with invalid updated attributes (ex: friendly name being an empty string) and valid endpoint data, expecting update to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderSuccess | |||
| ) |
Tests create with correct parameters, expecting to return EndpointBuilder.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validManufacturerAttributeBoundary | |||
| ) |
Test for checking valid manufacturer field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_createEndpointBuilderWithoutPointerSuccess | |||
| ) |
Tests create with correct parameters (using non-shared ptr deviceInfo), expecting to return EndpointBuilder.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidManufacturerAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid manufacturer field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_updateSuccess | |||
| ) |
Tests update with valid updated attributes and valid endpoint data, expecting update to succeed and to return true.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_createWithNullParametersFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withDisplayCategory | |||
| ) |
Tests withDisplayCategory with valid parameters, expecting that display category is successfully updated.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withConfigurationFinalized | |||
| ) |
Tests finalizeAttributes, expecting that each attribute remains unchanged.
withDerivedEndpointId, withEndpointId, withFriendlyName, withDescription, withManufacturerName, withDisplayCategory, and withAdditionalAttributes. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validModelAttributeBoundary | |||
| ) |
Test for checking valid model field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_shutdownResolvesPendingPromises | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_updateDuplicateCapabilities | |||
| ) |
Tests update by first adding a capability through addCapabilityConfiguration, then calling update with the same capability, expecting update to succeed by keeping one copy of the same capability and to return true.
addCapabilityConfiguration. | alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withConnections | |||
| ) |
Tests withConnections with valid parameters, expecting that connections are updated successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidModelAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid model field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validSerialNumberAttributeBoundary | |||
| ) |
Test for checking valid serial number field.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withCookies | |||
| ) |
Tests withCookies with valid parameters, expecting that cookies are updated successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_updateSameInterfaceDifferentInstances | |||
| ) |
Tests update by first adding a capability through addCapabilityConfiguration, then calling update with the same capability, expecting update to succeed by still having the remaining copy in the currenCapabilities. Tests updates on both additions to ensure that order does not matter. Tests a remove to ensure that the correct instance is removed after update.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidSerialNumberAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid serial number field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withDerivedEndpointIdLengthExceeded | |||
| ) |
Tests withDerivedEndpointId with an invalid length, expecting endpoint id to remain unchanged.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withPowerControllerNotEnabled | |||
| ) |
Tests withPowerController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validFirmwareVersionAttributeBoundary | |||
| ) |
Test for checking valid firmwareVersion field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withDerivedEndpointIdSuccess | |||
| ) |
Tests withDerivedEndpointId, expecting to update endpoint id successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidFirmwareVersionAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid firmwareVersion field.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withToggleControllerNotEnabled | |||
| ) |
Tests withToggleController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_attributesUpdatedSuccess | |||
| ) |
Tests that each attribute can be successfully updated when provided with valid input.
withEndpointId, withFriendlyName, withDescription, withManufacturerName, withDisplayCategory, withAdditionalAttributes, withConnections, and withCookies. withDerivedEndpointId, is tested separately so that it does not interfere with withEndpointId. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validSoftwareVersionAttributeBoundary | |||
| ) |
Test for checking valid softwareVersion field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointSucceeds | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_addCapabilityNullDirectiveHandler | |||
| ) |
Tests addCapability with a null directive handler, expecting addCapability to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidSoftwareVersionAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid softwareVersion field.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withModeControllerNotEnabled | |||
| ) |
Tests withModeController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_addCapabilityDuplicate | |||
| ) |
Tests addCapability with a capability duplicate, expecting addCapability to return false, after attempting to add a duplicate.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validCustomIdentifierAttributeBoundary | |||
| ) |
Test for checking valid CustomIdentifier field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_addCapabilitySuccess | |||
| ) |
Tests addCapability with valid parameters, expecting addCapability to succeed and to return true.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withRangeControllerNotEnabled | |||
| ) |
Tests withRangeController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidCustomIdentifierAttributeBoundaryReturnsFalse | |||
| ) |
Test for checking invalid CustomIdentifier field.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_removeCapabilityThatDoesNotExist | |||
| ) |
Tests removeCapability with a capability that does not exist, expecting removeCapability to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterEndpointSucceeds | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withCapability | |||
| ) |
Tests withCapability with valid parameters, expecting capabilities to be updated successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validCookiesSize | |||
| ) |
Test for checking valid cookie data.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withEndpointIdInvalid | |||
| ) |
Tests withEndpointId with an invalid length, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_removeCapabilitySuccess | |||
| ) |
Tests removeCapability with a capability that does exist, expecting removeCapability to succeed and to return true.
addCapability. | alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withCapabilityInterface | |||
| ) |
Tests withCapability with valid parameters, expecting capabilities to be updated successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidCookiesSizeReturnsFalse | |||
| ) |
Test for checking invalid cookie data.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withFriendlyNameInvalid | |||
| ) |
Tests withFriendlyName with an invalid friendly name, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_addCapabilityConfigurationDuplicate | |||
| ) |
Tests addCapabilityConfiguration with a duplicate capability configuration. Specifically the first addition should succeed, but the second addition should fail, expecting removeCapability to return false, after attempting to add a duplicate.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_withCapabilityConfiguration | |||
| ) |
Tests withCapabilityConfiguration with valid parameters, expecting capabilities to be updated successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_validConnectionsReturnsTrue | |||
| ) |
Test for checking valid connections data.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withDescriptionInvalid | |||
| ) |
Tests withDescription with an invalid description, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidEndpointId | |||
| ) |
Tests validateEndpointAttributes with an invalid/empty endpoint id, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withManufacturerNameInvalid | |||
| ) |
Tests withManufacturerName with an invalid manufacturer name, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_buildSuccess | |||
| ) |
Tests build with minimal required valid parameters, expecting to successfully build a default endpoint.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidFriendlyName | |||
| ) |
Tests validateEndpointAttributes with an invalid/empty friendly name, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointAttributeValidationTest | , |
| test_invalidConnectionsReturnsFalse | |||
| ) |
Test for checking invalid connections data.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withDisplayCategoryInvalid | |||
| ) |
Tests withDisplayCategory with an invalid display category, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | DefaultEndpointBuilderTest | , |
| test_buildDuplicate | |||
| ) |
Tests build with an already built default endpoint, expecting the build to fail, since only one default endpoint can be built from a single default endpoint builder. Expecting the second call to create a duplicate default endpoint to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_updateEndpointSucceeds | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidDescription | |||
| ) |
Tests validateEndpointAttributes with an invalid/empty description, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withAdditionalAttributesInvalid | |||
| ) |
Tests withAdditionalAttributes with invalid additional attributes, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidManufacturerName | |||
| ) |
Tests validateEndpointAttributes with an invalid/empty manufacturer name, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withConnectionsInvalid | |||
| ) |
Tests withConnections with an invalid connection (ex: every connection key requires a value), expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidAdditionalAttributes | |||
| ) |
Tests validateEndpointAttributes with invalid/oversized additional attributes, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCookiesInvalid | |||
| ) |
Tests withCookies with invalid cookies, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidConnections | |||
| ) |
Tests validateEndpointAttributes with invalid connections, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withPowerControllerNotEnabled | |||
| ) |
Tests withPowerController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesInvalidCookies | |||
| ) |
Tests validateEndpointAttributes with invalid/oversized cookies, expecting validateEndpointAttributes to fail and to return false.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withToggleControllerNotEnabled | |||
| ) |
Tests withToggleController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerExsitingEndpointFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointTest | , |
| test_validateEndpointAttributesSuccess | |||
| ) |
Tests validateEndpointAttributes with valid parameters, expecting validateEndpointAttributes to succeed and to return true.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withModeControllerNotEnabled | |||
| ) |
Tests withModeController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withRangeControllerNotEnabled | |||
| ) |
Tests withRangeController without being enabled, expecting build to fail and to return nullptr.
withEndpointCapabilitiesBuilder() method instead. | alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilitySuccess | |||
| ) |
Tests withCapability with a valid capability configuration, expecting to update capabilities successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterDefaultEndpointFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityNullConfigurationInterface | |||
| ) |
Tests withCapability with a null configuration interface, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWhenCapabilityRegistrationEndsWithFatalErrorFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityNullDirectiveHandler | |||
| ) |
Tests withCapability with a null directive handler, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityInvalidConfiguration | |||
| ) |
Tests withCapability with an invalid capability configuration, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityUsingInterfaceSuccess | |||
| ) |
Tests withCapability with a valid capability configuration, expecting to update capabilities successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityConfigurationNullConfigurationInterface | |||
| ) |
Tests withCapabilityConfiguration with a null configuration interface, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerNullEndpointFailsImmediately | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityConfigurationNullConfiguration | |||
| ) |
Tests withCapabilityConfiguration with a null configuration, expecting build to fail and to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_updateEndpointThatDoesNotExistFailsImmediately | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_withCapabilityConfigurationSuccess | |||
| ) |
Tests withCapabilityConfiguration with a valid configuration, expecting to update capability configurations successfully.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterEndpointThatDoesNotExistFailsImmediately | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWhileRegistrationInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_buildSuccess | |||
| ) |
Tests build with minimal required valid parameters, expecting to successfully build an endpoint.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointBuilderTest | , |
| test_buildDuplicate | |||
| ) |
Tests build with an already built endpoint, expecting the build to fail, since only one endpoint can be built from a single endpoint builder. Expecting the second call to create a duplicate endpoint to return nullptr.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWhileDeregistrationInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWhileUpdateInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterEndpointWhileDeregistrationInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterEndpointWhileRegistrationInProgressFails | |||
| ) |
Test.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_deregisterEndpointWhileUpdateInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_updateEndpointWhileRegistrationInProgressFails | |||
| ) |
Test.
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_updateEndpointWhileDeregistrationInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_updateEndpointWhileUpdateInProgressFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWithInvalidHandlerFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_registerEndpointWithInvalidCapabilityFails | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_revertWhenUpdateExistingEndpointFailsDueToCapabilityUpdateEndWithFatalFailure | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_revertWhenUpdateExistingEndpointFailsDueToUpdateEndpointFail | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_revertWhenDeregisterEndpointFailsDueToCapabilityRegistrationEndWithFatalFailure | |||
| ) |
| alexaClientSDK::endpoints::test::TEST_F | ( | EndpointRegistrationManagerTest | , |
| test_revertWhenDeregisterEndpointFailsDueToDirectiveHandlerFailure | |||
| ) |
|
static |
|
static |
The EndpointIdentifier for a mock default endpoint.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Constant representing the timeout for test events.
|
static |
|
static |
|
static |
|
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