ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
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/op/initiate.hpp>
#include <daq/op/start.hpp>
#include <daq/error.hpp>
#include "mock/metadaqifMock.hpp"
#include "mock/recifMock.hpp"
#include "testAsyncOpBase.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 32 of file testAsyncOpStart.cpp.

◆ TEST_F() [2/3]

TEST_F ( TestAsyncOpStart  ,
StartAsyncFutureHasExceptionIfStartDaqReturnsError   
)

Definition at line 93 of file testAsyncOpStart.cpp.

◆ TEST_F() [3/3]

TEST_F ( TestAsyncOpStart  ,
StartingFailsToSendStartDaqWillAbortAndSetErrorFlagAndStayInStarting   
)

Definition at line 70 of file testAsyncOpStart.cpp.