Definition at line 13 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_3uint8_array_bytes | ( | self | ) |
Definition at line 393 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_3uint8_array_list | ( | self | ) |
Definition at line 402 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_array | ( | self | ) |
Definition at line 312 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_bool | ( | self | ) |
Definition at line 410 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_byte | ( | self | ) |
Definition at line 418 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_char | ( | self | ) |
Definition at line 426 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_child_message | ( | self | ) |
Definition at line 687 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_duration | ( | self | ) |
Definition at line 434 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_empty | ( | self | ) |
Definition at line 448 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_empty_additional_args_forgiving | ( | self | ) |
Definition at line 463 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_empty_additional_args_strict_mode | ( | self | ) |
Definition at line 456 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_empty_service | ( | self | ) |
Definition at line 727 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_float32 | ( | self | ) |
Definition at line 531 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_float64 | ( | self | ) |
Definition at line 539 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_header | ( | self | ) |
Definition at line 547 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_header_with_no_prefix | ( | self | ) |
Definition at line 565 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_int16 | ( | self | ) |
Definition at line 599 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_int32 | ( | self | ) |
Definition at line 615 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_int64 | ( | self | ) |
Definition at line 631 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_int8 | ( | self | ) |
Definition at line 583 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_invalid_kind | ( | self | ) |
Definition at line 793 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_invalid_message_fields | ( | self | ) |
Definition at line 721 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_missing_field_checked | ( | self | ) |
Definition at line 501 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_missing_field_unchecked | ( | self | ) |
Definition at line 493 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_nested_additional_args_forgiving | ( | self | ) |
Definition at line 482 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_nested_additional_args_strict_mode | ( | self | ) |
Definition at line 471 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_nested_missing_field_checked | ( | self | ) |
Definition at line 517 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_nested_missing_field_unchecked | ( | self | ) |
Definition at line 508 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_nested_service | ( | self | ) |
Definition at line 742 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_numpy_conversions | ( | self | ) |
Definition at line 798 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_setbool_service | ( | self | ) |
Definition at line 763 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_string | ( | self | ) |
Definition at line 647 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_time | ( | self | ) |
Definition at line 664 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_time_now | ( | self | ) |
Definition at line 679 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_trigger_service | ( | self | ) |
Definition at line 778 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint16 | ( | self | ) |
Definition at line 607 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint32 | ( | self | ) |
Definition at line 623 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint64 | ( | self | ) |
Definition at line 639 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint8 | ( | self | ) |
Definition at line 591 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint8_array_bytes | ( | self | ) |
rospy treats uint8[] data as `bytes`, which is the Python representation for byte data. In Python 2, this is the same as `str`. The `bytes` value must be base64-encoded.
Definition at line 320 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint8_array_bytes_unencoded | ( | self | ) |
If the value of a uint8[] field has type `bytes`, rospy_message_converter expects that data to be base64-encoded and runs b64decode on it. This test documents what happens if the value is not base64-encoded.
Definition at line 354 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint8_array_list | ( | self | ) |
Even though rospy treats uint8[] data as `bytes`, rospy_message_converter also handles lists of int. In that case, the input data must *not* be base64-encoded.
Definition at line 334 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_uint8_array_list_invalid | ( | self | ) |
Definition at line 347 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_unicode | ( | self | ) |
Definition at line 655 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_dictionary_with_wrong_type | ( | self | ) |
Definition at line 525 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_3uint8_array | ( | self | ) |
Definition at line 131 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_3uint8_array_binary_array_as_array | ( | self | ) |
Definition at line 141 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_array | ( | self | ) |
Definition at line 15 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_bool | ( | self | ) |
Definition at line 25 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_byte | ( | self | ) |
Definition at line 33 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_char | ( | self | ) |
Definition at line 41 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_child_message | ( | self | ) |
Definition at line 245 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_duration | ( | self | ) |
Definition at line 49 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_empty | ( | self | ) |
Definition at line 63 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_empty_service | ( | self | ) |
Definition at line 279 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_float32 | ( | self | ) |
Definition at line 71 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_float64 | ( | self | ) |
Definition at line 79 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_header | ( | self | ) |
Definition at line 87 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_int16 | ( | self | ) |
Definition at line 166 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_int32 | ( | self | ) |
Definition at line 182 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_int64 | ( | self | ) |
Definition at line 198 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_int8 | ( | self | ) |
Definition at line 105 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_nested_service | ( | self | ) |
Definition at line 292 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_nested_uint8_array | ( | self | ) |
Definition at line 157 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_nested_uint8_array_binary_array_as_array | ( | self | ) |
Definition at line 149 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_string | ( | self | ) |
Definition at line 214 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_time | ( | self | ) |
Definition at line 233 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_uint16 | ( | self | ) |
Definition at line 174 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_uint32 | ( | self | ) |
Definition at line 190 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_uint64 | ( | self | ) |
Definition at line 206 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_uint8 | ( | self | ) |
Definition at line 113 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_uint8_array | ( | self | ) |
Definition at line 121 of file test_message_converter.py.
def test.test_message_converter.TestMessageConverter.test_ros_message_with_unicode | ( | self | ) |
Test that strings are encoded as utf8
Definition at line 222 of file test_message_converter.py.