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

Unit tests for the SMRequestorRaw class. More...

#include <rad/SMRequestorRaw.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/AnyEvent.hpp>
#include <rad/Logger.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include <google/protobuf/stubs/common.h>
#include <functional>

Classes

struct  OKEventTrait2
 
struct  ERREventTrait2
 
struct  TimeoutEventTrait2
 
class  TestSMRequestorRaw
 

Typedefs

using OKEvent2 = rad::EventT< OKEventTrait2 >
 
using ERREvent2 = rad::EventT< ERREventTrait2 >
 
using TimeoutEvent2 = rad::EventT< TimeoutEventTrait2 >
 

Functions

 TEST_F (TestSMRequestorRaw, RawCtor)
 
 TEST_F (TestSMRequestorRaw, RawSendReqRecvRepOk)
 
 TEST_F (TestSMRequestorRaw, RawSendReqRecvRepTimeout)
 
 TEST_F (TestSMRequestorRaw, CleanupGoogleProtoBuf)
 

Detailed Description

Unit tests for the SMRequestorRaw class.

Author
landolfa

Typedef Documentation

Function Documentation

TEST_F ( TestSMRequestorRaw  ,
RawCtor   
)
TEST_F ( TestSMRequestorRaw  ,
RawSendReqRecvRepOk   
)

Test that it is possible to successfully send a request and trigger, on reception of the reply, the OK or Err internal event.

TEST_F ( TestSMRequestorRaw  ,
RawSendReqRecvRepTimeout   
)
TEST_F ( TestSMRequestorRaw  ,
CleanupGoogleProtoBuf   
)