ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Functions
testEventLog.cpp File Reference

Unit test for types declared in daq/event.hpp. More...

#include <daq/eventLog.hpp>
#include <sstream>
#include <gtest/gtest.h>
#include <gmock/gmock.h>

Go to the source code of this file.

Classes

struct  EventObserver
 

Functions

 TEST (TestEventLog, Constructors)
 
 TEST (TestObservableEventLog, Constructors)
 
 TEST (TestObservableEventLog, ConvertibleToEventLog)
 
 TEST (TestObservableEventLog, ObserversAreInvokedWhenEventIsAdded)
 
 TEST (TestObservableEventLog, EventLogAreAddedToContainer)
 
 TEST (TestErrorEvent, Comparison)
 
 TEST (TestGenericEvent, Comparison)
 
 TEST (TestError, Ostream)
 

Detailed Description

Unit test for types declared in daq/event.hpp.

Definition in file testEventLog.cpp.

Function Documentation

◆ TEST() [1/8]

TEST ( TestError  ,
Ostream   
)

Definition at line 84 of file testEventLog.cpp.

◆ TEST() [2/8]

TEST ( TestErrorEvent  ,
Comparison   
)

Definition at line 64 of file testEventLog.cpp.

◆ TEST() [3/8]

TEST ( TestEventLog  ,
Constructors   
)

Definition at line 24 of file testEventLog.cpp.

◆ TEST() [4/8]

TEST ( TestGenericEvent  ,
Comparison   
)

Definition at line 74 of file testEventLog.cpp.

◆ TEST() [5/8]

TEST ( TestObservableEventLog  ,
Constructors   
)

Definition at line 28 of file testEventLog.cpp.

◆ TEST() [6/8]

TEST ( TestObservableEventLog  ,
ConvertibleToEventLog   
)

Definition at line 32 of file testEventLog.cpp.

◆ TEST() [7/8]

TEST ( TestObservableEventLog  ,
EventLogAreAddedToContainer   
)

Definition at line 52 of file testEventLog.cpp.

◆ TEST() [8/8]

TEST ( TestObservableEventLog  ,
ObserversAreInvokedWhenEventIsAdded   
)

Definition at line 40 of file testEventLog.cpp.