Documentation ¶
Overview ¶
Fixtures here represent some easier data structures to compile and test. These are handy when you need to make bigger changes to the way the templates are generated and you can get some confirmation that things work.
ROS2 has helpfully included test_msgs/msg/* which seem to cover all cases of .msg-file serdes. Here we define test fixtures for each message type for a rather complete test coverage to the .msg parsing functionality.
Index ¶
- func Fixture_C_sensor_msgs__ChannelFloat32() *C.sensor_msgs__msg__ChannelFloat32
- func Fixture_C_sensor_msgs__Illuminance() *C.sensor_msgs__msg__Illuminance
- func Fixture_C_std_msgs__ColorRGBA() *C.std_msgs__msg__ColorRGBA
- func Fixture_C_std_msgs__Int64MultiArray() *C.std_msgs__msg__Int64MultiArray
- func Fixture_C_std_msgs__String() *C.std_msgs__msg__String
- func Fixture_C_test_msgs__Arrays() *C.test_msgs__msg__Arrays
- func Fixture_C_test_msgs__BasicTypes() *C.test_msgs__msg__BasicTypes
- func Fixture_C_test_msgs__BoundedSequences() *C.test_msgs__msg__BoundedSequences
- func Fixture_C_test_msgs__Builtins() *C.test_msgs__msg__Builtins
- func Fixture_C_test_msgs__Constants() *C.test_msgs__msg__Constants
- func Fixture_C_test_msgs__Defaults() *C.test_msgs__msg__Defaults
- func Fixture_C_test_msgs__Empty() *C.test_msgs__msg__Empty
- func Fixture_C_test_msgs__MultiNested() *C.test_msgs__msg__MultiNested
- func Fixture_C_test_msgs__Nested() *C.test_msgs__msg__Nested
- func Fixture_C_test_msgs__UnboundedSequences() *C.test_msgs__msg__UnboundedSequences
- func Fixture_C_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice() *C.test_msgs__msg__UnboundedSequences
- func Fixture_C_test_msgs__WStrings() *C.test_msgs__msg__WStrings
- func Fixture_Go_sensor_msgs__ChannelFloat32() *sensor_msgs.ChannelFloat32
- func Fixture_Go_sensor_msgs__Illuminance() *sensor_msgs.Illuminance
- func Fixture_Go_std_msgs__ColorRGBA() *std_msgs.ColorRGBA
- func Fixture_Go_std_msgs__Int64MultiArray() *std_msgs.Int64MultiArray
- func Fixture_Go_std_msgs__String() *std_msgs.String
- func Fixture_Go_test_msgs__Arrays() *test_msgs.Arrays
- func Fixture_Go_test_msgs__BasicTypes() *test_msgs.BasicTypes
- func Fixture_Go_test_msgs__BoundedSequences() *test_msgs.BoundedSequences
- func Fixture_Go_test_msgs__Builtins() *test_msgs.Builtins
- func Fixture_Go_test_msgs__Constants() *test_msgs.Constants
- func Fixture_Go_test_msgs__Defaults() *test_msgs.Defaults
- func Fixture_Go_test_msgs__Empty() *test_msgs.Empty
- func Fixture_Go_test_msgs__MultiNested() *test_msgs.MultiNested
- func Fixture_Go_test_msgs__Nested() *test_msgs.Nested
- func Fixture_Go_test_msgs__UnboundedSequences() *test_msgs.UnboundedSequences
- func Fixture_Go_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice() *test_msgs.UnboundedSequences
- func Fixture_Go_test_msgs__WStrings() *test_msgs.WStrings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fixture_C_sensor_msgs__ChannelFloat32 ¶
func Fixture_C_sensor_msgs__ChannelFloat32() *C.sensor_msgs__msg__ChannelFloat32
func Fixture_C_sensor_msgs__Illuminance ¶
func Fixture_C_sensor_msgs__Illuminance() *C.sensor_msgs__msg__Illuminance
func Fixture_C_std_msgs__ColorRGBA ¶
func Fixture_C_std_msgs__ColorRGBA() *C.std_msgs__msg__ColorRGBA
func Fixture_C_std_msgs__Int64MultiArray ¶
func Fixture_C_std_msgs__Int64MultiArray() *C.std_msgs__msg__Int64MultiArray
func Fixture_C_std_msgs__String ¶
func Fixture_C_std_msgs__String() *C.std_msgs__msg__String
func Fixture_C_test_msgs__Arrays ¶
func Fixture_C_test_msgs__Arrays() *C.test_msgs__msg__Arrays
func Fixture_C_test_msgs__BasicTypes ¶
func Fixture_C_test_msgs__BasicTypes() *C.test_msgs__msg__BasicTypes
func Fixture_C_test_msgs__BoundedSequences ¶
func Fixture_C_test_msgs__BoundedSequences() *C.test_msgs__msg__BoundedSequences
func Fixture_C_test_msgs__Builtins ¶
func Fixture_C_test_msgs__Builtins() *C.test_msgs__msg__Builtins
func Fixture_C_test_msgs__Constants ¶
func Fixture_C_test_msgs__Constants() *C.test_msgs__msg__Constants
func Fixture_C_test_msgs__Defaults ¶
func Fixture_C_test_msgs__Defaults() *C.test_msgs__msg__Defaults
func Fixture_C_test_msgs__Empty ¶
func Fixture_C_test_msgs__Empty() *C.test_msgs__msg__Empty
func Fixture_C_test_msgs__MultiNested ¶
func Fixture_C_test_msgs__MultiNested() *C.test_msgs__msg__MultiNested
func Fixture_C_test_msgs__Nested ¶
func Fixture_C_test_msgs__Nested() *C.test_msgs__msg__Nested
func Fixture_C_test_msgs__UnboundedSequences ¶
func Fixture_C_test_msgs__UnboundedSequences() *C.test_msgs__msg__UnboundedSequences
func Fixture_C_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice ¶
func Fixture_C_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice() *C.test_msgs__msg__UnboundedSequences
func Fixture_C_test_msgs__WStrings ¶
func Fixture_C_test_msgs__WStrings() *C.test_msgs__msg__WStrings
func Fixture_Go_sensor_msgs__ChannelFloat32 ¶
func Fixture_Go_sensor_msgs__ChannelFloat32() *sensor_msgs.ChannelFloat32
func Fixture_Go_sensor_msgs__Illuminance ¶
func Fixture_Go_sensor_msgs__Illuminance() *sensor_msgs.Illuminance
func Fixture_Go_std_msgs__Int64MultiArray ¶
func Fixture_Go_std_msgs__Int64MultiArray() *std_msgs.Int64MultiArray
func Fixture_Go_test_msgs__BasicTypes ¶
func Fixture_Go_test_msgs__BasicTypes() *test_msgs.BasicTypes
func Fixture_Go_test_msgs__BoundedSequences ¶
func Fixture_Go_test_msgs__BoundedSequences() *test_msgs.BoundedSequences
func Fixture_Go_test_msgs__MultiNested ¶
func Fixture_Go_test_msgs__MultiNested() *test_msgs.MultiNested
func Fixture_Go_test_msgs__UnboundedSequences ¶
func Fixture_Go_test_msgs__UnboundedSequences() *test_msgs.UnboundedSequences
func Fixture_Go_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice ¶
func Fixture_Go_test_msgs__UnboundedSequences_no_allocate_memory_on_empty_slice() *test_msgs.UnboundedSequences
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.