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

daq::AsyncProcess integration tests More...

#include <thread>
#include <gtest/gtest.h>
#include <rad/ioExecutor.hpp>
#include <daq/process/asyncProcess.hpp>

Go to the source code of this file.

Classes

class  AsyncProcessTest
 

Functions

 TEST_F (AsyncProcessTest, ReadAll)
 
 TEST_F (AsyncProcessTest, SignalWithSigterm)
 
 TEST_F (AsyncProcessTest, Abort)
 
 TEST_F (AsyncProcessTest, ReadAllMultiple)
 

Detailed Description

daq::AsyncProcess integration tests

This starts subprocesses that depend on bash, sleep and dd so they are not part of unit tests.

Definition in file testAsyncProcess.cpp.

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( AsyncProcessTest  ,
Abort   
)

Definition at line 100 of file testAsyncProcess.cpp.

◆ TEST_F() [2/4]

TEST_F ( AsyncProcessTest  ,
ReadAll   
)

Definition at line 30 of file testAsyncProcess.cpp.

◆ TEST_F() [3/4]

TEST_F ( AsyncProcessTest  ,
ReadAllMultiple   
)

Definition at line 129 of file testAsyncProcess.cpp.

◆ TEST_F() [4/4]

TEST_F ( AsyncProcessTest  ,
SignalWithSigterm   
)

Definition at line 71 of file testAsyncProcess.cpp.