forked from ros2/rclcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the test for any_subscription_callback. (#13)
In particular, change it so that the tests for TypeAdaptation with any_subscription_callback always pass the custom type to dispatch_intra_process(). That means that when using TypeAdaptation, it is not possible to call dispatch_intra_process() with the ROS message type. But since this is a low-level interface, this should be fine; the public-facing APIs handle this case for us. This also requires us to remove the test for inter-process publishing with type adaptation. That's because we didn't change the signature of AnySubscriptionCallback::dispath() to take in the custom type, so it always expects the ROS message type. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
a3c7e94
commit 1f9bc22
Showing
2 changed files
with
77 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters