ifw-daq  2.1.0-pre1
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 41 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [2/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionSatisfiedAtTimeout   
)

Definition at line 103 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [3/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionSatisfiedByStateChange   
)

Definition at line 52 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [4/5]

TEST_F ( TestAsyncOpAwaitState  ,
ConditionTimesOut   
)

Definition at line 73 of file testAsyncOpAwaitState.cpp.

◆ TEST_F() [5/5]

TEST_F ( TestAsyncOpAwaitState  ,
OperationAborted   
)

Definition at line 89 of file testAsyncOpAwaitState.cpp.