AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions
UUIDGenerationTest.cpp File Reference
#include <string>
#include <future>
#include <vector>
#include <unordered_set>
#include <cctype>
#include <random>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "AVSCommon/Utils/UUIDGeneration/UUIDGeneration.h"
Include dependency graph for UUIDGenerationTest.cpp:

Classes

class  alexaClientSDK::avsCommon::test::UUIDGenerationTest
 

Namespaces

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

Functions

static const std::string alexaClientSDK::avsCommon::test::UUID_VERSION ("4")
 The version of the UUID generated. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::UUID_VARIANT (8)
 The variant of the UUID generated. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::UUID_VERSION_OFFSET (14)
 The offset of the UUID version in the string. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::UUID_VARIANT_OFFSET (19)
 The offset of the UUID variant in the string. More...
 
static const std::string alexaClientSDK::avsCommon::test::HYPHEN ("-")
 Hyphen. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::HYPHEN1_POSITION (8)
 Position of first hyphen. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::HYPHEN2_POSITION (13)
 Position of second hyphen. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::HYPHEN3_POSITION (18)
 Position of third hyphen. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::HYPHEN4_POSITION (23)
 Position of fourth hyphen. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::UUID_LENGTH (36)
 The length of the UUID string - 32 hexadecimal digits and 4 hyphens. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::MAX_UUIDS_TO_GENERATE (100)
 The maximum UUIDs to generate to test for uniqueness. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::MAX_TEST_THREADS (10)
 The maximum threads to test with. More...
 
static const unsigned int alexaClientSDK::avsCommon::test::MAX_RETRIES (20)
 The maximum number of retries. More...
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_uUIDStringLength)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_uUIDContainsOnlyHexCharacters)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_uUIDVersion)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_uUIDVariant)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, addSeedTest)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_multipleConcurrentSaltSettings)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_uUIDHyphens)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_multipleRequests)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_multipleConcurrentRequests)
 
 alexaClientSDK::avsCommon::test::TEST_F (UUIDGenerationTest, test_allHexValuesGenerated)
 

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