Skip to content

Commit faf005f

Browse files
committed
Remove test cases for deprecated memory strategies
Remove test_memory_strategy.cpp and test_allocator_memory_strategy.cpp and update CMakeLists.txt. These tests are no longer required as the target classes are deprecated and slated for removal. Signed-off-by: Scott Duncan <scott.duncan.work@gmail.com>
1 parent 1aebfab commit faf005f

File tree

3 files changed

+0
-1483
lines changed

3 files changed

+0
-1483
lines changed

rclcpp/test/rclcpp/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ if(TARGET test_exceptions)
3636
target_link_libraries(test_exceptions ${PROJECT_NAME} mimick)
3737
endif()
3838

39-
ament_add_ros_isolated_gtest(test_allocator_memory_strategy strategies/test_allocator_memory_strategy.cpp)
40-
if(TARGET test_allocator_memory_strategy)
41-
target_link_libraries(test_allocator_memory_strategy ${PROJECT_NAME} rcpputils::rcpputils ${test_msgs_TARGETS})
42-
endif()
4339
ament_add_ros_isolated_gtest(test_message_pool_memory_strategy strategies/test_message_pool_memory_strategy.cpp)
4440
if(TARGET test_message_pool_memory_strategy)
4541
target_link_libraries(test_message_pool_memory_strategy ${PROJECT_NAME} ${test_msgs_TARGETS})
@@ -147,9 +143,6 @@ ament_add_ros_isolated_gtest(test_loaned_message test_loaned_message.cpp)
147143
ament_add_test_label(test_loaned_message mimick)
148144
target_link_libraries(test_loaned_message ${PROJECT_NAME} mimick ${test_msgs_TARGETS})
149145

150-
ament_add_ros_isolated_gtest(test_memory_strategy test_memory_strategy.cpp)
151-
target_link_libraries(test_memory_strategy ${PROJECT_NAME} ${test_msgs_TARGETS})
152-
153146
ament_add_ros_isolated_gtest(test_message_memory_strategy test_message_memory_strategy.cpp)
154147
target_link_libraries(test_message_memory_strategy ${PROJECT_NAME} ${test_msgs_TARGETS})
155148

0 commit comments

Comments
 (0)