AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
WakeGuardTest.cpp File Reference
#include <string>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/SDKInterfaces/MockPowerResourceManager.h>
#include <AVSCommon/Utils/Power/WakeGuard.h>
Include dependency graph for WakeGuardTest.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 
 alexaClientSDK::avsCommon::utils::power
 
 alexaClientSDK::avsCommon::utils::power::test
 

Functions

 alexaClientSDK::avsCommon::utils::power::test::MATCHER_P (ContainsPowerResourceId, id, "")
 
 alexaClientSDK::avsCommon::utils::power::test::TEST (WakeGuardTest, test_constructWithNull)
 Test that the constructor with a nullptr doesn't segfault. More...
 
 alexaClientSDK::avsCommon::utils::power::test::TEST (WakeGuardTest, test_createAcquires)
 
 alexaClientSDK::avsCommon::utils::power::test::TEST (WakeGuardTest, test_destructorReleases)
 

Variables

static std::string alexaClientSDK::avsCommon::utils::power::test::TEST_ID = "test"
 

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