#include <gtest/gtest.h>#include <uavcan/node/service_client.hpp>#include <uavcan/node/service_server.hpp>#include <uavcan/util/method_binder.hpp>#include <uavcan/protocol/RestartNode.hpp>#include <uavcan/protocol/GetDataTypeInfo.hpp>#include <root_ns_a/StringService.hpp>#include <root_ns_a/EmptyService.hpp>#include <queue>#include <sstream>#include "test_node.hpp"
Go to the source code of this file.
Classes | |
| struct | ServiceCallResultHandler< DataType > |
Functions | |
| static void | emptyServiceServerCallback (const uavcan::ReceivedDataStructure< root_ns_a::EmptyService::Request > &, uavcan::ServiceResponseDataStructure< root_ns_a::EmptyService::Response > &) |
| static void | rejectingStringServiceServerCallback (const uavcan::ReceivedDataStructure< root_ns_a::StringService::Request > &req, uavcan::ServiceResponseDataStructure< root_ns_a::StringService::Response > &rsp) |
| static void | stringServiceServerCallback (const uavcan::ReceivedDataStructure< root_ns_a::StringService::Request > &req, uavcan::ServiceResponseDataStructure< root_ns_a::StringService::Response > &rsp) |
| TEST (ServiceClient, Basic) | |
| TEST (ServiceClient, Rejection) | |
| TEST (ServiceClient, ConcurrentCalls) | |
| TEST (ServiceClient, Empty) | |
| TEST (ServiceClient, Priority) | |
| TEST (ServiceClient, Sizes) | |
|
static |
Definition at line 77 of file service_client.cpp.
|
static |
Definition at line 66 of file service_client.cpp.
|
static |
Definition at line 59 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| Basic | |||
| ) |
Definition at line 84 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| Rejection | |||
| ) |
Definition at line 193 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| ConcurrentCalls | |||
| ) |
Definition at line 237 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| Empty | |||
| ) |
Definition at line 357 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| Priority | |||
| ) |
Definition at line 389 of file service_client.cpp.
| TEST | ( | ServiceClient | , |
| Sizes | |||
| ) |
Definition at line 442 of file service_client.cpp.