Skip to content

Commit

Permalink
Remove controller tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-vsp authored Jan 16, 2024
1 parent 7687f32 commit 651bcfd
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions canopen_ros2_controllers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,42 +56,42 @@ install(
if(FALSE)
find_package(ament_cmake_gmock REQUIRED)

ament_add_gmock(test_load_canopen_proxy_controller test/test_load_canopen_proxy_controller.cpp)
target_include_directories(test_load_canopen_proxy_controller PRIVATE include)
ament_target_dependencies(
test_load_canopen_proxy_controller
controller_manager
hardware_interface
canopen_interfaces
)
# ament_add_gmock(test_load_canopen_proxy_controller test/test_load_canopen_proxy_controller.cpp)
# target_include_directories(test_load_canopen_proxy_controller PRIVATE include)
# ament_target_dependencies(
# test_load_canopen_proxy_controller
# controller_manager
# hardware_interface
# canopen_interfaces
# )

ament_add_gmock(test_load_cia402_device_controller test/test_load_cia402_device_controller.cpp)
target_include_directories(test_load_cia402_device_controller PRIVATE include)
ament_target_dependencies(
test_load_cia402_device_controller
controller_manager
hardware_interface
canopen_interfaces
)
# ament_add_gmock(test_load_cia402_device_controller test/test_load_cia402_device_controller.cpp)
# target_include_directories(test_load_cia402_device_controller PRIVATE include)
# ament_target_dependencies(
# test_load_cia402_device_controller
# controller_manager
# hardware_interface
# canopen_interfaces
# )

ament_add_gmock(test_load_cia402_robot_controller test/test_load_cia402_robot_controller.cpp)
target_include_directories(test_load_cia402_robot_controller PRIVATE include)
ament_target_dependencies(
test_load_cia402_robot_controller
controller_manager
hardware_interface
canopen_interfaces
)
# ament_add_gmock(test_load_cia402_robot_controller test/test_load_cia402_robot_controller.cpp)
# target_include_directories(test_load_cia402_robot_controller PRIVATE include)
# ament_target_dependencies(
# test_load_cia402_robot_controller
# controller_manager
# hardware_interface
# canopen_interfaces
# )

ament_add_gmock(test_canopen_proxy_controller test/test_canopen_proxy_controller.cpp)
target_include_directories(test_canopen_proxy_controller PRIVATE include)
target_link_libraries(test_canopen_proxy_controller ${PROJECT_NAME})
ament_target_dependencies(
test_canopen_proxy_controller
controller_interface
hardware_interface
canopen_interfaces
)
# ament_add_gmock(test_canopen_proxy_controller test/test_canopen_proxy_controller.cpp)
# target_include_directories(test_canopen_proxy_controller PRIVATE include)
# target_link_libraries(test_canopen_proxy_controller ${PROJECT_NAME})
# ament_target_dependencies(
# test_canopen_proxy_controller
# controller_interface
# hardware_interface
# canopen_interfaces
# )
endif()

ament_export_include_directories(
Expand Down

0 comments on commit 651bcfd

Please sign in to comment.