You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add mimick test for rcl_publisher_get_subscription_count
* Remove const qualifiers
* Add missing mock suffix
* Improve test description
* Add mock test for rcl_publisher_assert_liveliness
* Add class to init publisher tests
* Add test for mocked rmw_publish
* Add mock test for rcl_publish_serialized
* Mock rcutils_string_map_init to make init fail
* Add mock test making rmw_publisher_get_actual_qos fail
* Add class to ease mimick usage
* Reformat tests to use helper class
* Add mocked rcutils_string_map_init to make init fail
* Add tests mocking loaned functions
* Add mock fail tests for publisher_init
* Add publisher fini fail mock tests
* Add nullptr tests
* Update mocking utilities
* Reformat with macro utility
* Add comments for mocked tests
* Check count_size value after test
* Reformat to use constexpr where possible
* Add variable making clear bad param test
* Add link to original file to help tracking changes
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
Bug report
Required Info:
Steps to reproduce issue
Run a demo node:
Try setting the parameter to something other than a Boolean:
Also, try deleting the parameter:
Expected behavior
It's expected that the
use_sim_time
parameter cannot be set to anything other than a Boolean and that it cannot be deleted.Actual behavior
use_sim_time
can be set to something other than a Boolean and can be deleted.Additional information
An error is logged when trying to set
use_sim_time
with a different type, but the set appears to succeed anyways.After deleting the parameter, if we try to set it again we get an error stating that the parameter is not declared:
I have not confirmed if this is just an issue with
use_sim_time
or parameters in general.The text was updated successfully, but these errors were encountered: