|
ifw
0.0.1-dev
|
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) | |
Unit tests for the SMRequestor class.
| using ERREvent = rad::EventT<ERREventTrait> |
| using OKEvent = rad::EventT<OKEventTrait> |
| using TimeoutEvent = rad::EventT<TimeoutEventTrait> |
| 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.
1.8.5