Skip to content

Commit

Permalink
Increase coverage rclcpp_action to 95%
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brawner <brawner@gmail.com>
  • Loading branch information
brawner committed Sep 9, 2020
1 parent eedb3e6 commit 1476715
Show file tree
Hide file tree
Showing 6 changed files with 1,072 additions and 15 deletions.
13 changes: 13 additions & 0 deletions rclcpp_action/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ if(BUILD_TESTING)
)
target_link_libraries(test_client
${PROJECT_NAME}
mimick
)
endif()

Expand All @@ -91,6 +92,18 @@ if(BUILD_TESTING)
)
target_link_libraries(test_server
${PROJECT_NAME}
mimick
)
endif()

ament_add_gtest(test_server_goal_handle test/test_server_goal_handle.cpp)
if(TARGET test_server_goal_handle)
ament_target_dependencies(test_server_goal_handle
"test_msgs"
)
target_link_libraries(test_server_goal_handle
${PROJECT_NAME}
mimick
)
endif()

Expand Down
1 change: 1 addition & 0 deletions rclcpp_action/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<test_depend>ament_cmake_gtest</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>mimick_vendor</test_depend>
<test_depend>test_msgs</test_depend>

<export>
Expand Down
Loading

0 comments on commit 1476715

Please sign in to comment.