Skip to content

Commit

Permalink
use non-demangled type names in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Miaofei <miaofei@amazon.com>
  • Loading branch information
mm318 committed Dec 19, 2019
1 parent 713b1ec commit 96a77da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl/test/rcl/test_info_by_topic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ TEST_F(CLASSNAME(TestInfoByTopicFixture, RMW_IMPLEMENTATION),
rmw_topic_info_t topic_info_pub = topic_info_array_pub.info_array[0];
EXPECT_STREQ(topic_info_pub.node_name, this->test_graph_node_name);
EXPECT_STREQ(topic_info_pub.node_namespace, "/");
EXPECT_STREQ(topic_info_pub.topic_type, "test_msgs/msg/Strings");
EXPECT_STREQ(topic_info_pub.topic_type, "test_msgs::msg::dds_::Strings_");
assert_qos_equality(topic_info_pub.qos_profile, default_qos_profile);

rmw_topic_info_array_t topic_info_array_sub = rmw_get_zero_initialized_topic_info_array();
Expand All @@ -355,7 +355,7 @@ TEST_F(CLASSNAME(TestInfoByTopicFixture, RMW_IMPLEMENTATION),
rmw_topic_info_t topic_info_sub = topic_info_array_sub.info_array[0];
EXPECT_STREQ(topic_info_sub.node_name, this->test_graph_node_name);
EXPECT_STREQ(topic_info_sub.node_namespace, "/");
EXPECT_STREQ(topic_info_sub.topic_type, "test_msgs/msg/Strings");
EXPECT_STREQ(topic_info_sub.topic_type, "test_msgs::msg::dds_::Strings_");
assert_qos_equality(topic_info_sub.qos_profile, default_qos_profile);

// clean up
Expand Down

0 comments on commit 96a77da

Please sign in to comment.