ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
TestMsgRequestorRaw2.cpp File Reference

Unit tests for the MsgRequestor class. More...

#include <rad/MsgRequestorRaw.hpp>
#include <rad/MsgHandler.hpp>
#include <rad/Logger.hpp>
#include <rad/Errors.hpp>
#include <gtest/gtest.h>

Classes

struct  TestMsgRequestorRaw2
 
struct  TestMsgRequestorRaw2_P
 

Functions

 INSTANTIATE_TEST_CASE_P (Inst, TestMsgRequestorRaw2_P,::testing::Values(std::chrono::milliseconds(0), std::chrono::milliseconds(500)),)
 
 TEST_F (TestMsgRequestorRaw2, TimeoutDuringReceive)
 
 TEST_F (TestMsgRequestorRaw2, RetryReceiveAfterInitialTimeout)
 
 TEST_P (TestMsgRequestorRaw2_P, SendRequestReceiveReplyWithoutError)
 
 TEST_P (TestMsgRequestorRaw2_P, DeletingRequestorCancelsOperation)
 

Detailed Description

Unit tests for the MsgRequestor class.

Author
landolfa

Function Documentation

INSTANTIATE_TEST_CASE_P ( Inst  ,
TestMsgRequestorRaw2_P  ,
::testing::  Valuesstd::chrono::milliseconds(0), std::chrono::milliseconds(500) 
)
TEST_F ( TestMsgRequestorRaw2  ,
TimeoutDuringReceive   
)

Test reply timeout.

TEST_F ( TestMsgRequestorRaw2  ,
RetryReceiveAfterInitialTimeout   
)

Test that it is possible to successfully send a request and receive the related reply.

TEST_P ( TestMsgRequestorRaw2_P  ,
SendRequestReceiveReplyWithoutError   
)

Test that it is possible to successfully send a request and receive the related reply.

TEST_P ( TestMsgRequestorRaw2_P  ,
DeletingRequestorCancelsOperation   
)