ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Classes | Functions
testAsyncOpAwaitPrim.cpp File Reference

Unit test for op::AwaitPrimAsync. 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/awaitPrim.hpp>
#include "testAsyncOpBase.hpp"

Go to the source code of this file.

Classes

struct  TestAsyncOpAwaitPrim
 

Functions

 TEST_F (TestAsyncOpAwaitPrim, AwaitCompletesOnFirstRequest)
 
 TEST_F (TestAsyncOpAwaitPrim, AwaitCompletesOnSecondRequest)
 
 TEST_F (TestAsyncOpAwaitPrim, SourceThrowsExceptionIsRetriedSuccessfully)
 
 TEST_F (TestAsyncOpAwaitPrim, SourceThrowsExceptionIsAbortedSuccessfully)
 

Detailed Description

Unit test for op::AwaitPrimAsync.

Definition in file testAsyncOpAwaitPrim.cpp.

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
AwaitCompletesOnFirstRequest   
)

Definition at line 181 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [2/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
AwaitCompletesOnSecondRequest   
)

Definition at line 207 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [3/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
SourceThrowsExceptionIsAbortedSuccessfully   
)

Definition at line 277 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [4/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
SourceThrowsExceptionIsRetriedSuccessfully   
)

Definition at line 243 of file testAsyncOpAwaitPrim.cpp.