Skip to content

Commit

Permalink
Bump graph API test coverage. (#132)
Browse files Browse the repository at this point in the history
Test all ROS graph query APIs with bad arguments.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic authored and ahcorde committed Oct 8, 2020
1 parent ccb5a94 commit a61a8ed
Show file tree
Hide file tree
Showing 2 changed files with 926 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test_rmw_implementation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ if(BUILD_TESTING)
ament_target_dependencies(test_serialize_deserialize${target_suffix}
rcutils rmw rmw_implementation test_msgs
)

ament_add_gtest(test_graph_api${target_suffix}
test/test_graph_api.cpp
ENV ${rmw_implementation_env_var}
TIMEOUT 120
)
target_compile_definitions(test_graph_api${target_suffix}
PUBLIC "RMW_IMPLEMENTATION=${rmw_implementation}")
ament_target_dependencies(test_graph_api${target_suffix}
osrf_testing_tools_cpp rcutils rmw rmw_implementation
)
endmacro()

call_for_each_rmw_implementation(test_api)
Expand Down
Loading

0 comments on commit a61a8ed

Please sign in to comment.