diff --git a/rclcpp/test/rclcpp/test_intra_process_manager.cpp b/rclcpp/test/rclcpp/test_intra_process_manager.cpp index 6a253a4278..5210f6eac0 100644 --- a/rclcpp/test/rclcpp/test_intra_process_manager.cpp +++ b/rclcpp/test/rclcpp/test_intra_process_manager.cpp @@ -535,7 +535,7 @@ TEST(TestIntraProcessManager, add_pub_sub) { * - Remove the first subscription from ipm and add a new one. * - Publishes a unique_ptr message with a subscription not requesting ownership. * - The received message is expected to be the same, the first subscription do not receive it. - * - Publishes a shared_ptr message with a subscription not requesting ownership. + * - Publishes a unique_ptr message with a subscription not requesting ownership. * - The received message is expected to be the same. */ TEST(TestIntraProcessManager, single_subscription) { @@ -587,9 +587,9 @@ TEST(TestIntraProcessManager, single_subscription) { * - One is expected to receive the published message, while the other will receive a copy. * - Publishes a unique_ptr message with 2 subscriptions not requesting ownership. * - Both received messages are expected to be the same as the published one. - * - Publishes a shared_ptr message with 2 subscriptions requesting ownership. + * - Publishes a unique_ptr message with 2 subscriptions requesting ownership. * - Both received messages are expected to be a copy of the published one. - * - Publishes a shared_ptr message with 2 subscriptions not requesting ownership. + * - Publishes a unique_ptr message with 2 subscriptions not requesting ownership. * - Both received messages are expected to be the same as the published one. */ TEST(TestIntraProcessManager, multiple_subscriptions_same_type) { @@ -694,9 +694,9 @@ TEST(TestIntraProcessManager, multiple_subscriptions_same_type) { * - The 2 subscriptions not requesting ownership are expected to both receive the same copy * of the message, one of the subscription requesting ownership is expected to receive a * different copy, while the last is expected to receive the published message. - * - Publishes a shared_ptr message with 1 subscription requesting ownership and 1 not. - * - The subscription requesting ownership is expected to receive a copy of the message, while - * the other is expected to receive the published message + * - Publishes a unique_ptr message with 1 subscription requesting ownership and 1 not. + * - The subscription requesting ownership is expected to receive the published message, while + * the other is expected to receive a copy of the message */ TEST(TestIntraProcessManager, multiple_subscriptions_different_type) { using IntraProcessManagerT = rclcpp::experimental::IntraProcessManager;