|
27 | 27 | #include "rmw/incompatible_qos_events_statuses.h" |
28 | 28 |
|
29 | 29 | #include "test_msgs/msg/strings.h" |
30 | | -#include "rosidl_generator_c/string_functions.h" |
| 30 | +#include "rosidl_runtime_c/string_functions.h" |
31 | 31 |
|
32 | 32 | #include "osrf_testing_tools_cpp/scope_exit.hpp" |
33 | 33 |
|
@@ -395,7 +395,7 @@ TEST_F(TestEventFixture, test_pubsub_no_deadline_missed) |
395 | 395 | { |
396 | 396 | test_msgs__msg__Strings msg; |
397 | 397 | test_msgs__msg__Strings__init(&msg); |
398 | | - ASSERT_TRUE(rosidl_generator_c__String__assign(&msg.string_value, test_string)); |
| 398 | + ASSERT_TRUE(rosidl_runtime_c__String__assign(&msg.string_value, test_string)); |
399 | 399 | ret = rcl_publish(&publisher, &msg, nullptr); |
400 | 400 | test_msgs__msg__Strings__fini(&msg); |
401 | 401 | EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str; |
@@ -462,7 +462,7 @@ TEST_F(TestEventFixture, test_pubsub_deadline_missed) |
462 | 462 | { |
463 | 463 | test_msgs__msg__Strings msg; |
464 | 464 | test_msgs__msg__Strings__init(&msg); |
465 | | - ASSERT_TRUE(rosidl_generator_c__String__assign(&msg.string_value, test_string)); |
| 465 | + ASSERT_TRUE(rosidl_runtime_c__String__assign(&msg.string_value, test_string)); |
466 | 466 | ret = rcl_publish(&publisher, &msg, nullptr); |
467 | 467 | test_msgs__msg__Strings__fini(&msg); |
468 | 468 | EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str; |
@@ -537,7 +537,7 @@ TEST_F(TestEventFixture, test_pubsub_liveliness_kill_pub) |
537 | 537 | { |
538 | 538 | test_msgs__msg__Strings msg; |
539 | 539 | test_msgs__msg__Strings__init(&msg); |
540 | | - ASSERT_TRUE(rosidl_generator_c__String__assign(&msg.string_value, test_string)); |
| 540 | + ASSERT_TRUE(rosidl_runtime_c__String__assign(&msg.string_value, test_string)); |
541 | 541 | ret = rcl_publish(&publisher, &msg, nullptr); |
542 | 542 | test_msgs__msg__Strings__fini(&msg); |
543 | 543 | EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str; |
|
0 commit comments