Skip to content

Commit 9ad4614

Browse files
author
yuchen966
committed
correct test function descriptions
1 parent 8499404 commit 9ad4614

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

rclcpp/test/rclcpp/test_intra_process_manager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ TEST(TestIntraProcessManager, add_pub_sub) {
535535
* - Remove the first subscription from ipm and add a new one.
536536
* - Publishes a unique_ptr message with a subscription not requesting ownership.
537537
* - The received message is expected to be the same, the first subscription do not receive it.
538-
* - Publishes a shared_ptr message with a subscription not requesting ownership.
538+
* - Publishes a unique_ptr message with a subscription not requesting ownership.
539539
* - The received message is expected to be the same.
540540
*/
541541
TEST(TestIntraProcessManager, single_subscription) {
@@ -587,9 +587,9 @@ TEST(TestIntraProcessManager, single_subscription) {
587587
* - One is expected to receive the published message, while the other will receive a copy.
588588
* - Publishes a unique_ptr message with 2 subscriptions not requesting ownership.
589589
* - Both received messages are expected to be the same as the published one.
590-
* - Publishes a shared_ptr message with 2 subscriptions requesting ownership.
590+
* - Publishes a unique_ptr message with 2 subscriptions requesting ownership.
591591
* - Both received messages are expected to be a copy of the published one.
592-
* - Publishes a shared_ptr message with 2 subscriptions not requesting ownership.
592+
* - Publishes a unique_ptr message with 2 subscriptions not requesting ownership.
593593
* - Both received messages are expected to be the same as the published one.
594594
*/
595595
TEST(TestIntraProcessManager, multiple_subscriptions_same_type) {
@@ -694,9 +694,9 @@ TEST(TestIntraProcessManager, multiple_subscriptions_same_type) {
694694
* - The 2 subscriptions not requesting ownership are expected to both receive the same copy
695695
* of the message, one of the subscription requesting ownership is expected to receive a
696696
* different copy, while the last is expected to receive the published message.
697-
* - Publishes a shared_ptr message with 1 subscription requesting ownership and 1 not.
698-
* - The subscription requesting ownership is expected to receive a copy of the message, while
699-
* the other is expected to receive the published message
697+
* - Publishes a unique_ptr message with 1 subscription requesting ownership and 1 not.
698+
* - The subscription requesting ownership is expected to receive the published message, while
699+
* the other is expected to receive a copy of the message
700700
*/
701701
TEST(TestIntraProcessManager, multiple_subscriptions_different_type) {
702702
using IntraProcessManagerT = rclcpp::experimental::IntraProcessManager;

0 commit comments

Comments
 (0)