Template Class MessageIntrospectionTest

Inheritance Relationships

Base Type

Class Documentation

template<typename MessageT>
class MessageIntrospectionTest : public rosidl_typesupport_introspection_tests::testing::SharedLibraryTest

A GTest fixture for message introspection tests.

Template Parameters:

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

Public Types

using TypeSupportLibraryT = typename introspection_traits<MessageT>::TypeSupportLibraryT
using MessageDescriptorT = typename TypeSupportLibraryT::MessageDescriptorT

Public Functions

inline MessageIntrospectionTest()
inline void SetUp() override
inline const MessageDescriptorT *GetMessageDescriptor() const
inline std::unique_ptr<void, std::function<void(void*)>> MakeTypeErasedMessage() const