#include <rve_rpc/request_wrapper.h>
#include <rve_rpc/response_wrapper.h>
#include <rve_rpc/TestRequest.h>
#include <rve_rpc/TestResponse.h>
#include <std_msgs/UInt32.h>
#include <ros/ros.h>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | requestMessageCallback (const RequestConstPtr &msg) |
void | requestWrapperCallback (const RequestWrapperConstPtr &wrapper) |
void | responseMessageCallback (const ResponseConstPtr &msg) |
void | responseWrapperCallback (const ResponseWrapperConstPtr &wrapper) |
TEST (RequestWrapper, sendWrapperReceiveMessage) | |
TEST (RequestWrapper, sendMessageReceiveWrapper) | |
TEST (RequestWrapper, instantiate) | |
TEST (ResponseWrapper, sendWrapperReceiveMessage) | |
TEST (ResponseWrapper, sendMessageReceiveWrapper) | |
TEST (ResponseWrapper, instantiate) | |
Variables | |
RequestConstPtr | g_request |
RequestWrapperConstPtr | g_request_wrapper |
ResponseConstPtr | g_response |
ResponseWrapperConstPtr | g_response_wrapper |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 213 of file test_wrappers.cpp.
void requestMessageCallback | ( | const RequestConstPtr & | msg | ) |
Definition at line 46 of file test_wrappers.cpp.
void requestWrapperCallback | ( | const RequestWrapperConstPtr & | wrapper | ) |
Definition at line 52 of file test_wrappers.cpp.
void responseMessageCallback | ( | const ResponseConstPtr & | msg | ) |
Definition at line 128 of file test_wrappers.cpp.
void responseWrapperCallback | ( | const ResponseWrapperConstPtr & | wrapper | ) |
Definition at line 134 of file test_wrappers.cpp.
TEST | ( | RequestWrapper | , |
sendWrapperReceiveMessage | |||
) |
Definition at line 57 of file test_wrappers.cpp.
TEST | ( | RequestWrapper | , |
sendMessageReceiveWrapper | |||
) |
Definition at line 88 of file test_wrappers.cpp.
TEST | ( | RequestWrapper | , |
instantiate | |||
) |
Definition at line 115 of file test_wrappers.cpp.
TEST | ( | ResponseWrapper | , |
sendWrapperReceiveMessage | |||
) |
Definition at line 139 of file test_wrappers.cpp.
TEST | ( | ResponseWrapper | , |
sendMessageReceiveWrapper | |||
) |
Definition at line 172 of file test_wrappers.cpp.
TEST | ( | ResponseWrapper | , |
instantiate | |||
) |
Definition at line 201 of file test_wrappers.cpp.
RequestConstPtr g_request |
Definition at line 45 of file test_wrappers.cpp.
Definition at line 51 of file test_wrappers.cpp.
ResponseConstPtr g_response |
Definition at line 127 of file test_wrappers.cpp.
Definition at line 133 of file test_wrappers.cpp.