ifw-daq  3.0.0-pre2
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/awaitPrim.hpp>
#include <daq/op/initiate.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 188 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [2/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
AwaitCompletesOnSecondRequest   
)

Definition at line 214 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [3/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
SourceThrowsExceptionIsAbortedSuccessfully   
)

Definition at line 294 of file testAsyncOpAwaitPrim.cpp.

◆ TEST_F() [4/4]

TEST_F ( TestAsyncOpAwaitPrim  ,
SourceThrowsExceptionIsRetriedSuccessfully   
)

Definition at line 250 of file testAsyncOpAwaitPrim.cpp.