#include <AssetManagerTest.h>
|
| static string | createTarFile (const string &dir, const string &filename, size_t size=1) |
| |
|
| string | TMP_DIR |
| |
| string | TESTING_DIRECTORY |
| |
| string | BASE_DIR |
| |
| string | DAVS_TMP |
| |
| string | DAVS_RESOURCES_DIR |
| |
| string | DAVS_REQUESTS_DIR |
| |
| string | URL_RESOURCES_DIR |
| |
| string | URL_WORKING_DIR |
| |
| DavsServiceMock | service |
| |
| shared_ptr< DavsClient > | davsClient |
| |
| shared_ptr< AssetManager > | assetManager |
| |
| shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface > | authDelegateMock |
| |
| shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::InternetConnectionMonitorInterface > | wifiMonitorMock |
| |
| shared_ptr< DavsEndpointHandlerV3 > | davsEndpointHandler |
| |
| shared_ptr< UrlAllowListWrapper > | allowUrlList |
| |
| shared_ptr< AmdCommunicationInterface > | commsHandler |
| |
| shared_ptr< ArtifactUnderTest > | tarArtifact = make_shared<ArtifactUnderTest>( nullptr, DavsRequest::create("test", "tar", {{"filter1", {"value1"}}, {"filter2", {"value2"}}}, Region::NA, ArtifactRequest::UNPACK)) |
| |
| shared_ptr< ArtifactUnderTest > | unavailableArtifact = make_shared<ArtifactUnderTest>( nullptr, DavsRequest::create("test", "not_found", {{"filter1", {"value1"}}}, Region::NA, ArtifactRequest::UNPACK)) |
| |
| shared_ptr< ArtifactUnderTest > | tarUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("test:///tmp/urlResources/urlTarget.tar.gz", "urlArtifact", ArtifactRequest::UNPACK)) |
| |
| shared_ptr< ArtifactUnderTest > | unavailableUrlArtifact = make_shared<ArtifactUnderTest>( nullptr, UrlRequest::create("test:///unavailableUrlArtifact", "unavailableUrlArtifact")) |
| |
| shared_ptr< ArtifactUnderTest > | httpUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("http://tinytts.amazon.com/", "httpUrlArtifact")) |
| |
| shared_ptr< ArtifactUnderTest > | nonApprovedUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("https://evil.com/", "nonApprovedUrlArtifact")) |
| |
◆ createTarFile()
| static string AssetManagerTest::createTarFile |
( |
const string & |
dir, |
|
|
const string & |
filename, |
|
|
size_t |
size = 1 |
|
) |
| |
|
inlinestatic |
◆ SetUp()
| void AssetManagerTest::SetUp |
( |
| ) |
|
|
inlineoverride |
◆ shutdownAssetManager()
| void AssetManagerTest::shutdownAssetManager |
( |
| ) |
|
|
inline |
◆ startAssetManager()
| void AssetManagerTest::startAssetManager |
( |
| ) |
|
|
inline |
◆ TearDown()
| void AssetManagerTest::TearDown |
( |
| ) |
|
|
inlineoverride |
◆ uploadArtifactFromRequest()
| void AssetManagerTest::uploadArtifactFromRequest |
( |
const shared_ptr< ArtifactRequest > & |
request, |
|
|
size_t |
size = 1, |
|
|
const string & |
id = "", |
|
|
milliseconds |
ttlDelta = minutes(60) |
|
) |
| |
|
inline |
◆ allowUrlList
◆ assetManager
◆ authDelegateMock
◆ BASE_DIR
| string AssetManagerTest::BASE_DIR |
◆ commsHandler
◆ DAVS_REQUESTS_DIR
| string AssetManagerTest::DAVS_REQUESTS_DIR |
◆ DAVS_RESOURCES_DIR
| string AssetManagerTest::DAVS_RESOURCES_DIR |
◆ DAVS_TMP
| string AssetManagerTest::DAVS_TMP |
◆ davsClient
| shared_ptr<DavsClient> AssetManagerTest::davsClient |
◆ davsEndpointHandler
◆ httpUrlArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::httpUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("http://tinytts.amazon.com/", "httpUrlArtifact")) |
◆ nonApprovedUrlArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::nonApprovedUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("https://evil.com/", "nonApprovedUrlArtifact")) |
◆ service
◆ tarArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::tarArtifact = make_shared<ArtifactUnderTest>( nullptr, DavsRequest::create("test", "tar", {{"filter1", {"value1"}}, {"filter2", {"value2"}}}, Region::NA, ArtifactRequest::UNPACK)) |
◆ tarUrlArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::tarUrlArtifact = make_shared<ArtifactUnderTest>(nullptr, UrlRequest::create("test:///tmp/urlResources/urlTarget.tar.gz", "urlArtifact", ArtifactRequest::UNPACK)) |
◆ TESTING_DIRECTORY
| string AssetManagerTest::TESTING_DIRECTORY |
◆ TMP_DIR
| string AssetManagerTest::TMP_DIR |
◆ unavailableArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::unavailableArtifact = make_shared<ArtifactUnderTest>( nullptr, DavsRequest::create("test", "not_found", {{"filter1", {"value1"}}}, Region::NA, ArtifactRequest::UNPACK)) |
◆ unavailableUrlArtifact
| shared_ptr<ArtifactUnderTest> AssetManagerTest::unavailableUrlArtifact = make_shared<ArtifactUnderTest>( nullptr, UrlRequest::create("test:///unavailableUrlArtifact", "unavailableUrlArtifact")) |
◆ URL_RESOURCES_DIR
| string AssetManagerTest::URL_RESOURCES_DIR |
◆ URL_WORKING_DIR
| string AssetManagerTest::URL_WORKING_DIR |
◆ wifiMonitorMock
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/capabilities/AssetManager/acsdkAssetManager/test/AssetManagerTest.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0