AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | List of all members
alexaClientSDK::avsCommon::utils::logger::test::LoggerTest Class Reference
Inheritance diagram for alexaClientSDK::avsCommon::utils::logger::test::LoggerTest:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::utils::logger::test::LoggerTest:
Collaboration graph

Protected Member Functions

void SetUp () override
void TearDown () override
void setLevelExpectations (Level level)
void exerciseLevels ()
- Protected Member Functions inherited from testing::Test
 Test ()

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
- Public Member Functions inherited from testing::Test
virtual ~Test ()
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)

Detailed Description

Class for testing the Logger class

Member Function Documentation

◆ exerciseLevels()

void alexaClientSDK::avsCommon::utils::logger::test::LoggerTest::exerciseLevels ( )

Exercise each of the the ACSDK_* macros for the various log levels.

◆ setLevelExpectations()

void alexaClientSDK::avsCommon::utils::logger::test::LoggerTest::setLevelExpectations ( Level  level)

Make EXPECT_CALL invocations for the given log level. The expectations are based upon the ACSDK_* calls that will be made by exerciseLogLevels().

levelThe log level that is expected to be set for this test.

◆ SetUp()

void alexaClientSDK::avsCommon::utils::logger::test::LoggerTest::SetUp ( )

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::avsCommon::utils::logger::test::LoggerTest::TearDown ( )

Reimplemented from testing::Test.

The documentation for this class was generated from the following file:

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