ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
common
libdaq
test
testException.cpp
Go to the documentation of this file.
1
/**
2
* @file
3
* @ingroup daq_ocm_libdaq_test
4
* @copyright 2022 ESO - European Southern Observatory
5
*
6
* @brief Exception test
7
*/
8
#include <gtest/gtest.h>
9
#include <
daq/error.hpp
>
10
11
#include <fmt/format.h>
12
#include <fmt/ostream.h>
13
14
TEST
(Exception, TestMessage) {
15
EXPECT_NO_THROW(
daq::DaqSourceError
(
"request"
,
"source"
,
"message"
).what());
16
}
17
daq::DaqSourceError
Represents error in single source.
Definition:
error.hpp:67
error.hpp
Contains error related declarations for DAQ.
TEST
TEST(Exception, TestMessage)
Definition:
testException.cpp:14
Generated by
1.9.1