AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | AggregatedPowerResourceManagerTest |
class | PowerResourceTest |
Functions | |
MATCHER_P (HasPowerResourceId, id, "") | |
TEST_F (AggregatedPowerResourceManagerTest, test_factoryMethodWithNullArgument) | |
TEST_F (AggregatedPowerResourceManagerTest, test_createMultipleSameId) | |
TEST_F (AggregatedPowerResourceManagerTest, test_createMultipleSameLevel) | |
TEST_F (AggregatedPowerResourceManagerTest, test_createMultipleDifferentLevels) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquireMultipleSameLevel) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquireMultipleDifferentLevels) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquireNull) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquireRefCounted) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquireNonRefCounted) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releaseMultipleSameLevel) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releaseMultipleDifferentLevels) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releaseNull) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releaseRefCounted) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releaseNonRefCounted) | |
TEST_F (AggregatedPowerResourceManagerTest, test_close) | |
TEST_F (AggregatedPowerResourceManagerTest, test_closeCleanup) | |
TEST_F (AggregatedPowerResourceManagerTest, test_acquirePowerResourceLegacy) | |
TEST_F (AggregatedPowerResourceManagerTest, test_releasePowerResourceLegacy) | |
TEST_F (AggregatedPowerResourceManagerTest, test_isPowerResourceAcquiredLegacy) | |
TEST_F (PowerResourceTest, test_createWithNull) | |
Test that passing in a nullptr for PowerResourceManagerInterface results in a nullptr. More... | |
TEST_F (PowerResourceTest, test_getters) | |
Test that basic getters work as expected. More... | |
TEST_F (PowerResourceTest, test_acquire) | |
Test acquire calls the underlying PowerResourceManagerInterface . More... | |
TEST_F (PowerResourceTest, test_multiAcquire) | |
TEST_F (PowerResourceTest, test_destructor_releases) | |
Test destructor releases. More... | |
TEST_F (PowerResourceTest, test_releaseNoAcquireSucceeds) | |
Test release calls the underlying PowerResourceManagerInterface . More... | |
TEST_F (PowerResourceTest, test_release) | |
Test release calls the underlying PowerResourceManagerInterface . More... | |
TEST_F (PowerResourceTest, test_multiReleaseSymmetricalSucceeds) | |
TEST_F (PowerResourceTest, test_multiReleaseAssymmetricalSucceeds) | |
TEST_F (PowerResourceTest, test_freezeMultiSucceeds) | |
Test freeze calls underlying PowerResourceManagerInterface . More... | |
TEST_F (PowerResourceTest, test_frozenAcquireFails) | |
Test acquiring a frozen resource fails. More... | |
TEST_F (PowerResourceTest, test_frozenReleaseFails) | |
Test releasing a frozen resource fails. More... | |
TEST_F (PowerResourceTest, test_multipleFreezeIdempotent) | |
Test multiple freeze calls keeps resource frozen and maintains the refcount. More... | |
TEST_F (PowerResourceTest, test_thawMulti) | |
Test thaw acquires as many refCounts as available. More... | |
TEST_F (PowerResourceTest, test_thawAcquireSucceeds) | |
Test acquiring a thawed resource succeeds. More... | |
TEST_F (PowerResourceTest, test_thawReleaseSucceeds) | |
Test releasing a thawed resource succeeds. More... | |
TEST_F (PowerResourceTest, test_multipleThawIdempotent) | |
Test multiple thaws results. More... | |
TEST_F (PowerResourceTest, test_notRefCountedMultipleAcquireSuccceeds) | |
Test that acquire for a non-refCounted resource results in a refCount of 1. More... | |
TEST_F (PowerResourceTest, test_notRefCountedReleaseSucceeds) | |
Test that in a none refCounted resource release works. More... | |
MATCHER_P (ContainsPowerResourceId, id, "") | |
TEST (WakeGuardTest, test_constructWithNull) | |
Test that the constructor with a nullptr doesn't segfault. More... | |
TEST (WakeGuardTest, test_createAcquires) | |
TEST (WakeGuardTest, test_destructorReleases) | |
Variables | |
static std::string | TEST_ID = "test" |
static PowerResourceManagerInterface::PowerResourceLevel | TEST_LEVEL |
static bool | TEST_REFCOUNTED = true |
static std::string | TEST_ID = "test" |
static std::string | PREFIXED_TEST_ID = std::string(PowerResource::PREFIX) + "test" |
static PowerResourceManagerInterface::PowerResourceLevel | TEST_LEVEL |
static bool | TEST_REFCOUNTED = true |
static std::string | TEST_ID = "test" |
alexaClientSDK::avsCommon::utils::power::test::MATCHER_P | ( | ContainsPowerResourceId | , |
id | , | ||
"" | |||
) |
alexaClientSDK::avsCommon::utils::power::test::MATCHER_P | ( | HasPowerResourceId | , |
id | , | ||
"" | |||
) |
alexaClientSDK::avsCommon::utils::power::test::TEST | ( | WakeGuardTest | , |
test_constructWithNull | |||
) |
Test that the constructor with a nullptr doesn't segfault.
alexaClientSDK::avsCommon::utils::power::test::TEST | ( | WakeGuardTest | , |
test_createAcquires | |||
) |
alexaClientSDK::avsCommon::utils::power::test::TEST | ( | WakeGuardTest | , |
test_destructorReleases | |||
) |
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_factoryMethodWithNullArgument | |||
) |
Test creating an instance with a nullptr fails.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_createWithNull | |||
) |
Test that passing in a nullptr for PowerResourceManagerInterface results in a nullptr.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_getters | |||
) |
Test that basic getters work as expected.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_createMultipleSameId | |||
) |
Test creating multiple resources with the same ID fails.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_acquire | |||
) |
Test acquire calls the underlying PowerResourceManagerInterface
.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_createMultipleSameLevel | |||
) |
Test creating multiple resources with the same level results in one resource from the app PowerResourceManagerInterface perspective.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_multiAcquire | |||
) |
Test multiple acquire calls reflect changes in refcount and the underlying PowerResourceManagerInterface
being called.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_createMultipleDifferentLevels | |||
) |
Test creating multiple resources with different level results in one resource from the app PowerResourceManagerInterface perspective.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_destructor_releases | |||
) |
Test destructor releases.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_releaseNoAcquireSucceeds | |||
) |
Test release calls the underlying PowerResourceManagerInterface
.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_release | |||
) |
Test release calls the underlying PowerResourceManagerInterface
.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquireMultipleSameLevel | |||
) |
Test acquiring with multiple resources with the same level results in calls to the aggregated resource.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_multiReleaseSymmetricalSucceeds | |||
) |
Test multiple releases result in the underlying PowerResourceManagerInterface
being called, and the appropriate refcount.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquireMultipleDifferentLevels | |||
) |
Test acquiring with multiple resources with different levels results in calls to the aggregated resource.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_multiReleaseAssymmetricalSucceeds | |||
) |
Test multiple releases result in the underlying PowerResourceManagerInterface
being called, and the appropriate refcount.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquireNull | |||
) |
Test acquiring with a nullptr.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_freezeMultiSucceeds | |||
) |
Test freeze calls underlying PowerResourceManagerInterface
.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquireRefCounted | |||
) |
Test acquiring multiple refcounted resources results in multiple acquire.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_frozenAcquireFails | |||
) |
Test acquiring a frozen resource fails.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquireNonRefCounted | |||
) |
Test acquiring multiple non-ref counted resources results in just one acquire.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releaseMultipleSameLevel | |||
) |
Test release with multiple resources with the same level results in calls to the aggregated resource.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_frozenReleaseFails | |||
) |
Test releasing a frozen resource fails.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releaseMultipleDifferentLevels | |||
) |
Test release with multiple resources with different levels results in calls to the aggregated resource.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_multipleFreezeIdempotent | |||
) |
Test multiple freeze calls keeps resource frozen and maintains the refcount.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_thawMulti | |||
) |
Test thaw acquires as many refCounts as available.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releaseNull | |||
) |
Test release with a nullptr.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_thawAcquireSucceeds | |||
) |
Test acquiring a thawed resource succeeds.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releaseRefCounted | |||
) |
Test releasing multiple refcounted resources results in multiple release.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_thawReleaseSucceeds | |||
) |
Test releasing a thawed resource succeeds.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releaseNonRefCounted | |||
) |
Test releasing multiple non-ref counted resources results in just one acquire.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_multipleThawIdempotent | |||
) |
Test multiple thaws results.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_close | |||
) |
Test closing a power resource results in releasing remaining refCount.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_closeCleanup | |||
) |
Test calling close will cleanup the aggregated resource if there are no more resources of that level.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_notRefCountedMultipleAcquireSuccceeds | |||
) |
Test that acquire for a non-refCounted resource results in a refCount of 1.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_acquirePowerResourceLegacy | |||
) |
Test ensuring that acquirePowerResource calls the underlying application PowerResourceManagerInterface methods.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | PowerResourceTest | , |
test_notRefCountedReleaseSucceeds | |||
) |
Test that in a none refCounted resource release works.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_releasePowerResourceLegacy | |||
) |
Test ensuring that releasePowerResource calls the underlying application PowerResourceManagerInterface methods.
alexaClientSDK::avsCommon::utils::power::test::TEST_F | ( | AggregatedPowerResourceManagerTest | , |
test_isPowerResourceAcquiredLegacy | |||
) |
Test ensuring that isPowerResourceAcquired calls the underlying application PowerResourceManagerInterface methods.
|
static |
|
static |
|
static |
|
static |
|
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