ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Variables
a
c
e
h
i
k
l
m
n
p
r
s
t
v
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
~
Variables
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
v
w
Typedefs
a
c
d
e
h
k
m
p
r
s
t
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
b
c
d
e
g
j
m
o
p
s
t
Functions
c
m
o
p
s
t
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
common
libdaq
test
testDpPart.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 Unit test for `daq::DpPart`
7
*/
8
#include <
daq/dpPart.hpp
>
9
10
#include <gtest/gtest.h>
11
12
TEST
(TestDpPart, Constructors) {
13
daq::DpPart
p1;
14
auto
p2 = p1;
15
auto
p3(p2);
16
auto
p4(std::move(p2));
17
auto
p5 = std::move(p3);
18
}
19
20
TEST
(TestDpPart, Comparison) {
21
daq::DpPart
p1;
22
daq::DpPart
p2;
23
daq::DpPart
p3;
24
p3.
origin
=
"baz"
;
25
EXPECT_EQ(p1, p2);
26
EXPECT_NE(p1, p3);
27
}
TEST
TEST(TestDpPart, Constructors)
Definition:
testDpPart.cpp:12
daq::DpPart::origin
std::string origin
Component/process origin of the file.
Definition:
dpPart.hpp:41
dpPart.hpp
Contains declaration for DpPart.
daq::DpPart
Provides information of the location and origin of a FITS file or keywords produced by a data acquisi...
Definition:
dpPart.hpp:26
Generated by
1.8.20