ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
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 
Represents error in single source.
Definition: error.hpp:67
Contains error related declarations for DAQ.
TEST(Exception, TestMessage)