ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
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
14TEST(Exception, TestMessage) {
15 EXPECT_NO_THROW(daq::DaqSourceError("request", "source", "message").what());
16}
17
Represents error in single source.
Definition: error.hpp:68
Contains error related declarations for DAQ.
TEST(Exception, TestMessage)