ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
Classes | Functions
testAsyncOpStart.cpp File Reference

Unit test for op::StartAsync. More...

#include <daq/config.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <log4cplus/logger.h>
#include <daq/error.hpp>
#include <daq/op/initiate.hpp>
#include <daq/op/start.hpp>
#include "mock/metadaqifMock.hpp"
#include "mock/recifMock.hpp"
#include "testAsyncOpBase.hpp"
#include "utils.hpp"

Go to the source code of this file.

Classes

struct  TestAsyncOpStart
 

Functions

 TEST_F (TestAsyncOpStart, Start)
 
 TEST_F (TestAsyncOpStart, StartingFailsToSendStartDaqWillAbortAndSetErrorFlagAndStayInStarting)
 
 TEST_F (TestAsyncOpStart, StartAsyncFutureHasExceptionIfStartDaqReturnsError)
 

Detailed Description

Unit test for op::StartAsync.

Definition in file testAsyncOpStart.cpp.

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( TestAsyncOpStart  ,
Start   
)

Definition at line 31 of file testAsyncOpStart.cpp.

◆ TEST_F() [2/3]

TEST_F ( TestAsyncOpStart  ,
StartAsyncFutureHasExceptionIfStartDaqReturnsError   
)

Definition at line 90 of file testAsyncOpStart.cpp.

◆ TEST_F() [3/3]

TEST_F ( TestAsyncOpStart  ,
StartingFailsToSendStartDaqWillAbortAndSetErrorFlagAndStayInStarting   
)

Definition at line 68 of file testAsyncOpStart.cpp.