|
ifw
0.0.1-dev
|
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) | |
Unit tests for the SMRequestorRaw class.
| using ERREvent2 = rad::EventT<ERREventTrait2> |
| using OKEvent2 = rad::EventT<OKEventTrait2> |
| using TimeoutEvent2 = rad::EventT<TimeoutEventTrait2> |
| 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 | |||
| ) |
1.8.5