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

Unit test for op::AwaitStateAsync. More...

#include <daq/config.hpp>
#include <gtest/gtest.h>
#include <log4cplus/logger.h>
#include <daq/error.hpp>
#include <daq/op/initiate.hpp>
#include <daq/op/awaitState.hpp>
#include "utils.hpp"

Go to the source code of this file.

Classes

struct  TestAsyncOpAwaitState
 

Functions

 TEST_F (TestAsyncOpAwaitState, ConditionAlreadySatisfiedReturnsReadyFuture)
 
 TEST_F (TestAsyncOpAwaitState, ConditionSatisfiedByStateChange)
 
 TEST_F (TestAsyncOpAwaitState, ConditionTimesOut)
 
 TEST_F (TestAsyncOpAwaitState, OperationAborted)
 
 TEST_F (TestAsyncOpAwaitState, ConditionSatisfiedAtTimeout)
 

Detailed Description

Unit test for op::AwaitStateAsync.

Definition in file testAsyncOpAwaitState.cpp.

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionAlreadySatisfiedReturnsReadyFuture   
)

Definition at line 43 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [2/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionSatisfiedAtTimeout   
)

Definition at line 105 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [3/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionSatisfiedByStateChange   
)

Definition at line 54 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [4/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionTimesOut   
)

Definition at line 75 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [5/5]

TEST_F ( TestAsyncOpAwaitState  ,
OperationAborted   
)

Definition at line 91 of file testAsyncOpAwaitState.cpp.