AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Common.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_ATTACHMENT_COMMON_COMMON_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_ATTACHMENT_COMMON_COMMON_H_
18 
19 #include <memory>
20 #include <vector>
21 
23 
24 namespace alexaClientSDK {
25 namespace avsCommon {
26 namespace avs {
27 namespace test {
28 
30 static const std::string TEST_ATTACHMENT_ID_STRING_ONE = "testAttachmentId_1";
32 static const std::string TEST_ATTACHMENT_ID_STRING_TWO = "testAttachmentId_2";
34 static const std::string TEST_ATTACHMENT_ID_STRING_THREE = "testAttachmentId_3";
36 static const int TEST_SDS_BUFFER_SIZE_IN_BYTES = 400;
41 
48 std::unique_ptr<avsCommon::utils::sds::InProcessSDS> createSDS(int size);
49 
56 std::vector<uint8_t> createTestPattern(int size);
57 
58 } // namespace test
59 } // namespace avs
60 } // namespace avsCommon
61 } // namespace alexaClientSDK
62 
63 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_TEST_ATTACHMENT_COMMON_COMMON_H_
std::vector< uint8_t > createTestPattern(int patternSize)
Definition: Common.cpp:36
std::unique_ptr< InProcessSDS > createSDS(int desiredSize)
Definition: Common.cpp:29
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
static const std::string TEST_ATTACHMENT_ID_STRING_ONE
A test AttachmentId string.
Definition: Common.h:30
static const int TEST_SDS_BUFFER_SIZE_IN_BYTES
A test buffer size.
Definition: Common.h:36
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static const std::string TEST_ATTACHMENT_ID_STRING_TWO
A second test AttachmentId string.
Definition: Common.h:32
static const int TEST_SDS_PARTIAL_READ_AMOUNT_IN_BYTES
A test buffer read size.
Definition: Common.h:40
static const int TEST_SDS_PARTIAL_WRITE_AMOUNT_IN_BYTES
A test buffer write size.
Definition: Common.h:38
static const std::string TEST_ATTACHMENT_ID_STRING_THREE
A third test AttachmentId string.
Definition: Common.h:34

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