Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
unit-tests
utilities
time
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!
13
INITIALIZE_EASYLOGGINGPP
14
#endif
15
16
const
auto
TEST_DELTA_TIME_MS
= 500;
17
const
auto
TEST_DELTA_TIME
= std::chrono::milliseconds(
TEST_DELTA_TIME_MS
);
TEST_DELTA_TIME
const auto TEST_DELTA_TIME
Definition:
unit-tests/utilities/time/common.h:17
INITIALIZE_EASYLOGGINGPP
#define INITIALIZE_EASYLOGGINGPP
Definition:
easylogging++.h:4584
easylogging++.h
TEST_DELTA_TIME_MS
const auto TEST_DELTA_TIME_MS
Definition:
unit-tests/utilities/time/common.h:16
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:11