AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Functions | Variables
AssetManagerUpdateTest.cpp File Reference
#include "AssetManagerTest.h"
Include dependency graph for AssetManagerUpdateTest.cpp:

Classes

class  UpdateTest
 

Functions

 TEST_P (UpdateTest, UpdatingArtifactsDeletesTheOldResourceAndAcquiresTheNew)
 
 TEST_P (UpdateTest, UpdatingArtifactsWillKeepRetryingUntilItTimesOutAndDeletesTheNew)
 
 TEST_P (UpdateTest, HandlingSharedArtifactsWhereOneGetsUpdatedDoesNotDeleteOldResource)
 
 TEST_P (UpdateTest, CheckingForUpdateAtStartupAfterArtifactBecomesActive)
 
 TEST_P (UpdateTest, UpdatingOneActiveArtifactViaDeviceArtifactNotification)
 
 TEST_P (UpdateTest, UpdatingOneInactiveArtifactViaDeviceArtifactNotification)
 
 TEST_P (UpdateTest, UpdatingUnregisteredArtifactViaDeviceArtifactNotification)
 
 INSTANTIATE_TEST_CASE_P (UpdatesAcceptedAndRejected, UpdateTest, Values(true, false), PrintToStringParamName())
 

Variables

constexpr auto VALID_ONE_ARTIFACT_JSON = R"delim({"artifactList":[{"type":"test","key":"tar"}]})delim"
 
constexpr auto INVALID_ONE_ARTIFACT_JSON
 

Function Documentation

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( UpdatesAcceptedAndRejected  ,
UpdateTest  ,
Values(true, false)  ,
PrintToStringParamName()   
)

◆ TEST_P() [1/7]

TEST_P ( UpdateTest  ,
UpdatingArtifactsDeletesTheOldResourceAndAcquiresTheNew   
)

◆ TEST_P() [2/7]

TEST_P ( UpdateTest  ,
UpdatingArtifactsWillKeepRetryingUntilItTimesOutAndDeletesTheNew   
)

◆ TEST_P() [3/7]

TEST_P ( UpdateTest  ,
HandlingSharedArtifactsWhereOneGetsUpdatedDoesNotDeleteOldResource   
)

◆ TEST_P() [4/7]

TEST_P ( UpdateTest  ,
CheckingForUpdateAtStartupAfterArtifactBecomesActive   
)

◆ TEST_P() [5/7]

TEST_P ( UpdateTest  ,
UpdatingOneActiveArtifactViaDeviceArtifactNotification   
)

◆ TEST_P() [6/7]

TEST_P ( UpdateTest  ,
UpdatingOneInactiveArtifactViaDeviceArtifactNotification   
)

◆ TEST_P() [7/7]

TEST_P ( UpdateTest  ,
UpdatingUnregisteredArtifactViaDeviceArtifactNotification   
)

Variable Documentation

◆ INVALID_ONE_ARTIFACT_JSON

constexpr auto INVALID_ONE_ARTIFACT_JSON
Initial value:
=
R"delim({"artifactList":[{"type":"test-invalid","key":"tar-invalid"}]})delim"

◆ VALID_ONE_ARTIFACT_JSON

constexpr auto VALID_ONE_ARTIFACT_JSON = R"delim({"artifactList":[{"type":"test","key":"tar"}]})delim"

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