AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Functions | Variables
alexaClientSDK::properties::test Namespace Reference

Test cases for Properties Implementation. More...

Functions

 TEST (MiscStoragePropertiesFactoryTest, test_createOpened)
 Test constructor. More...
 
 TEST (MiscStoragePropertiesFactoryTest, test_createClosed)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createDatabase)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createWhenStorageClosedAndCreateFails)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createNullArgs)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createProperties)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createPropertiesCreatesTable)
 
 TEST (MiscStoragePropertiesFactoryTest, test_createPropertiesFailsToCreateTable)
 
 TEST (MiscStoragePropertiesTest, testCreatePropertiesTableExists)
 Test that the constructor. More...
 
 TEST (MiscStoragePropertiesTest, testCreatePropertiesCreateTable)
 
 TEST (MiscStoragePropertiesTest, testCreatePropertiesCreateTableFailed)
 
 TEST (MiscStoragePropertiesTest, testCreatePropertiesTableExistsFailed)
 
 TEST (MiscStoragePropertiesTest, testPutString)
 
 TEST (MiscStoragePropertiesTest, testPutBytes)
 
 TEST (MiscStoragePropertiesTest, testPutFailed)
 
 TEST (MiscStoragePropertiesTest, testGetString)
 
 TEST (MiscStoragePropertiesTest, testGetBinary)
 
 TEST (MiscStoragePropertiesTest, testGetFailed)
 
 TEST (MiscStoragePropertiesTest, testRemove)
 
 TEST (MiscStoragePropertiesTest, testClear)
 
 TEST (MiscStoragePropertiesTest, testClearFailedClearTable)
 
 TEST (DataPropertyCodecTest, test_encodeDer)
 
 TEST (DataPropertyCodecTest, test_decodeDer)
 
 TEST (EncryptedPropertiesFactoryTest, test_createNonNull)
 Test that the constructor with a nullptr doesn't segfault. More...
 
 TEST (EncryptedPropertiesFactoryTest, test_getPropertiesEncrypted)
 
 TEST (EncryptedPropertiesFactoryTest, test_createNullInnerFactory)
 
 TEST (EncryptedPropertiesFactoryTest, test_createNullCryptoFactory)
 
 TEST (EncryptedPropertiesFactoryTest, test_createNullKeyStore)
 
 TEST (EncryptedPropertiesTest, test_create)
 
 TEST (EncryptedPropertiesTest, test_createUpgradeEncryptionString)
 
 TEST (EncryptedPropertiesTest, test_createUpgradeEncryptionBytes)
 
 TEST (EncryptedPropertiesTest, test_createNullInnerProperties)
 
 TEST (EncryptedPropertiesTest, test_createNullCryptoFactory)
 
 TEST (EncryptedPropertiesTest, test_createNullKeyStore)
 
 TEST (EncryptedPropertiesTest, test_encryptPut)
 
 TEST (EncryptedPropertiesTest, test_reopenEncryptedProperties)
 
 TEST (EncryptionKeyPropertyTest, test_encodeDer)
 
 TEST (EncryptionKeyPropertyTest, test_decodeDer)
 

Variables

static const std::string DER_ENCODED_HEX
 

Detailed Description

Test cases for Properties Implementation.

Function Documentation

◆ TEST() [1/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createOpened   
)

Test constructor.

◆ TEST() [2/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createClosed   
)

◆ TEST() [3/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testCreatePropertiesTableExists   
)

Test that the constructor.

◆ TEST() [4/38]

alexaClientSDK::properties::test::TEST ( EncryptionKeyPropertyTest  ,
test_encodeDer   
)

◆ TEST() [5/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createDatabase   
)

◆ TEST() [6/38]

alexaClientSDK::properties::test::TEST ( DataPropertyCodecTest  ,
test_encodeDer   
)

◆ TEST() [7/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testCreatePropertiesCreateTable   
)

◆ TEST() [8/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesFactoryTest  ,
test_createNonNull   
)

Test that the constructor with a nullptr doesn't segfault.

◆ TEST() [9/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createWhenStorageClosedAndCreateFails   
)

◆ TEST() [10/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesFactoryTest  ,
test_getPropertiesEncrypted   
)

◆ TEST() [11/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createNullArgs   
)

◆ TEST() [12/38]

alexaClientSDK::properties::test::TEST ( DataPropertyCodecTest  ,
test_decodeDer   
)

◆ TEST() [13/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_create   
)

◆ TEST() [14/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testCreatePropertiesCreateTableFailed   
)

◆ TEST() [15/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createProperties   
)

◆ TEST() [16/38]

alexaClientSDK::properties::test::TEST ( EncryptionKeyPropertyTest  ,
test_decodeDer   
)

◆ TEST() [17/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesFactoryTest  ,
test_createNullInnerFactory   
)

◆ TEST() [18/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_createUpgradeEncryptionString   
)

◆ TEST() [19/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesFactoryTest  ,
test_createNullCryptoFactory   
)

◆ TEST() [20/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createPropertiesCreatesTable   
)

◆ TEST() [21/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testCreatePropertiesTableExistsFailed   
)

◆ TEST() [22/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesFactoryTest  ,
test_createNullKeyStore   
)

◆ TEST() [23/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testPutString   
)

◆ TEST() [24/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesFactoryTest  ,
test_createPropertiesFailsToCreateTable   
)

◆ TEST() [25/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testPutBytes   
)

◆ TEST() [26/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_createUpgradeEncryptionBytes   
)

◆ TEST() [27/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testPutFailed   
)

◆ TEST() [28/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_createNullInnerProperties   
)

◆ TEST() [29/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testGetString   
)

◆ TEST() [30/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_createNullCryptoFactory   
)

◆ TEST() [31/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_createNullKeyStore   
)

◆ TEST() [32/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_encryptPut   
)

◆ TEST() [33/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testGetBinary   
)

◆ TEST() [34/38]

alexaClientSDK::properties::test::TEST ( EncryptedPropertiesTest  ,
test_reopenEncryptedProperties   
)

◆ TEST() [35/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testGetFailed   
)

◆ TEST() [36/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testRemove   
)

◆ TEST() [37/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testClear   
)

◆ TEST() [38/38]

alexaClientSDK::properties::test::TEST ( MiscStoragePropertiesTest  ,
testClearFailedClearTable   
)

Variable Documentation

◆ DER_ENCODED_HEX

const std::string alexaClientSDK::properties::test::DER_ENCODED_HEX
static
Initial value:
=
"3024301e0c076d61696e4b657904030303030404101010100404aaaaaaaa040205050402dddd"

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