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

Unit tests for the SMRequestor class. More...

#include <rad/SMRequestor.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/AnyEvent.hpp>
#include <rad/Logger.hpp>
#include "Types.pb.h"
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include <functional>

Classes

struct  OKEventTrait
 
struct  ERREventTrait
 
struct  TimeoutEventTrait
 
class  TestEventsHandler
 
class  TestSMRequestor
 

Typedefs

using OKEvent = rad::EventT< OKEventTrait >
 
using ERREvent = rad::EventT< ERREventTrait >
 
using TimeoutEvent = rad::EventT< TimeoutEventTrait >
 

Functions

 TEST_F (TestSMRequestor, Ctor)
 
 TEST_F (TestSMRequestor, SendReqRecvRep)
 

Detailed Description

Unit tests for the SMRequestor class.

Author
landolfa

Typedef Documentation

Function Documentation

TEST_F ( TestSMRequestor  ,
Ctor   
)
TEST_F ( TestSMRequestor  ,
SendReqRecvRep   
)

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