ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
common
libfits
test
matchers.hpp
Go to the documentation of this file.
1
/**
2
* @file
3
* @ingroup daq_ocm_fits_test
4
* @copyright 2022 ESO - European Southern Observatory
5
*
6
* @brief Contains common matchers
7
*/
8
#ifndef DAQ_LIBFITS_MATCHERS_HPP
9
#define DAQ_LIBFITS_MATCHERS_HPP
10
11
#include <gmock/gmock.h>
12
13
MATCHER_P2
(IsKeyword, name, type,
"Match keyword name and type"
) {
14
auto
[kw_name, kw_type] = arg.GetName();
15
return
name == kw_name && type == kw_type;
16
}
17
18
#endif // #ifndef DAQ_LIBFITS_MATCHERS_HPP
MATCHER_P2
MATCHER_P2(IsKeyword, name, type, "Match keyword name and type")
Definition:
matchers.hpp:13
Generated by
1.8.20