Template Class ServiceIntrospectionTest

Inheritance Relationships

Base Type

Class Documentation

template<typename ServiceT>
class ServiceIntrospectionTest : public rosidl_typesupport_introspection_tests::testing::SharedLibraryTest

A GTest fixture for service introspection tests.

Template Parameters:

ServiceT – type of the service to test. introspection_traits<ServiceT> must exist. See test suite below for further reference on traits’ requirements.

Public Types

using TypeSupportLibraryT = typename introspection_traits<ServiceT>::TypeSupportLibraryT
using ServiceDescriptorT = typename TypeSupportLibraryT::ServiceDescriptorT

Public Functions

inline ServiceIntrospectionTest()
inline void SetUp() override
inline const ServiceDescriptorT *GetServiceDescriptor() const
inline std::unique_ptr<void, std::function<void(void*)>> MakeTypeErasedRequestMessage() const
inline std::unique_ptr<void, std::function<void(void*)>> MakeTypeErasedResponseMessage() const