CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
cdi_test.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
13#ifndef CDI_TEST_H__
14#define CDI_TEST_H__
15
16#include <stdbool.h>
17#include <stdint.h>
18
19#include "cdi_core_api.h"
20#include "test_args.h"
21#include "test_configuration.h"
22
23//*********************************************************************************************************************
24//***************************************** START OF DEFINITIONS AND TYPES ********************************************
25//*********************************************************************************************************************
26
28#define DEFAULT_LOG_LEVEL (kLogDebug)
29
31#define DEFAULT_LOG_COMPONENT (kLogComponentProbe)
32
34#define TEST_LOG_GLOBAL(log_level, ...) \
35 CdiLogger(GetGlobalTestSettings()->test_app_global_log_handle, kLogComponentGeneric, log_level, __FUNCTION__, \
36 __LINE__, __VA_ARGS__)
37
38//*********************************************************************************************************************
39//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
40//*********************************************************************************************************************
41
48
49#endif // CDI_TEST_H__
This file declares the public API data types, structures and functions that comprise the CDI low-leve...
GlobalTestSettings * GetGlobalTestSettings(void)
Definition cdi_test.c:285
A structure that holds all of the global test settings set from the command-line.
Definition test_args.h:223
The declarations in this header file correspond to the definitions in test_args.c.
This header file contains definitions used to define the build configuration of the CDI SDK's test....