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

Unit test for daq::op::StopAsync. More...

#include <daq/config.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <log4cplus/logger.h>
#include <nlohmann/json.hpp>
#include <daq/error.hpp>
#include <daq/op/initiate.hpp>
#include <daq/op/stop.hpp>
#include "mock/metadaqifMock.hpp"
#include "testAsyncOpBase.hpp"

Go to the source code of this file.

Classes

struct  TestAsyncOpStop
 Note: TestAsyncOpBase set. More...
 

Functions

 TEST_F (TestAsyncOpStop, Stop)
 
 TEST_F (TestAsyncOpStop, StopReturnsInvalidJsonKeywordsSucceedsIfTolerant)
 
 TEST_F (TestAsyncOpStop, StopReturnsInvalidJsonKeywordsFails)
 
 TEST_F (TestAsyncOpStop, StopMetaFailsReturnsExceptionalFuture)
 m_meta_rr_client Will succeed. More...
 
 TEST_F (TestAsyncOpStop, StopMetaFailsReturnsSuccessWithTolerantPolicy)
 

Detailed Description

Unit test for daq::op::StopAsync.

Definition in file testAsyncOpStop.cpp.

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( TestAsyncOpStop  ,
Stop   
)

Definition at line 53 of file testAsyncOpStop.cpp.

◆ TEST_F() [2/5]

TEST_F ( TestAsyncOpStop  ,
StopMetaFailsReturnsExceptionalFuture   
)

m_meta_rr_client Will succeed.

m_meta_rr_client2 will fail.

Definition at line 203 of file testAsyncOpStop.cpp.

◆ TEST_F() [3/5]

TEST_F ( TestAsyncOpStop  ,
StopMetaFailsReturnsSuccessWithTolerantPolicy   
)

Definition at line 245 of file testAsyncOpStop.cpp.

◆ TEST_F() [4/5]

TEST_F ( TestAsyncOpStop  ,
StopReturnsInvalidJsonKeywordsFails   
)

Definition at line 153 of file testAsyncOpStop.cpp.

◆ TEST_F() [5/5]

TEST_F ( TestAsyncOpStop  ,
StopReturnsInvalidJsonKeywordsSucceedsIfTolerant   
)

Definition at line 105 of file testAsyncOpStop.cpp.