Increase rcl_lifecycle test coverage and add more safety checks (#649)
* Increase test coverage and add more safety checks Signed-off-by: Stephen Brawner <brawner@gmail.com> * More coverage Signed-off-by: Stephen Brawner <brawner@gmail.com> * Concatenating error messages Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * PR Fixup Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * Forgot a Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * PR Fixup Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * Moving var to top Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> Co-authored-by: Stephen Brawner <stephenbrawner@verbsurgical.com>
This commit is contained in:
parent
30e0536a1d
commit
7146919c3f
7 changed files with 591 additions and 19 deletions
|
@ -89,6 +89,16 @@ if(BUILD_TESTING)
|
|||
)
|
||||
target_link_libraries(test_multiple_instances ${PROJECT_NAME})
|
||||
endif()
|
||||
ament_add_gtest(test_rcl_lifecycle
|
||||
test/test_rcl_lifecycle.cpp
|
||||
)
|
||||
if(TARGET test_rcl_lifecycle)
|
||||
ament_target_dependencies(test_rcl_lifecycle
|
||||
"rcl"
|
||||
"osrf_testing_tools_cpp"
|
||||
)
|
||||
target_link_libraries(test_rcl_lifecycle ${PROJECT_NAME})
|
||||
endif()
|
||||
ament_add_gtest(test_transition_map
|
||||
test/test_transition_map.cpp
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue