unit-tests/utilities/time/common.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3 
4 #define CATCH_CONFIG_MAIN
5 
6 #include "../../catch.h"
7 
8 #include <easylogging++.h>
9 #ifdef BUILD_SHARED_LIBS
10 // With static linkage, ELPP is initialized by librealsense, so doing it here will
11 // create errors. When we're using the shared .so/.dll, the two are separate and we have
12 // to initialize ours if we want to use the APIs!
14 #endif
15 
16 const auto TEST_DELTA_TIME_MS = 500;
17 const auto TEST_DELTA_TIME = std::chrono::milliseconds(TEST_DELTA_TIME_MS);
const auto TEST_DELTA_TIME
#define INITIALIZE_EASYLOGGINGPP
const auto TEST_DELTA_TIME_MS


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:11