Trait tests for generated actions (#853)
* Trait tests for generated actions Signed-off-by: Michael Carroll <michael@openrobotics.org> * Address reviewer feedback Signed-off-by: Michael Carroll <michael@openrobotics.org>
This commit is contained in:
parent
8e69b7d505
commit
231b991098
2 changed files with 108 additions and 0 deletions
|
@ -88,6 +88,15 @@ if(BUILD_TESTING)
|
|||
)
|
||||
endif()
|
||||
|
||||
ament_add_gtest(test_traits test/test_traits.cpp)
|
||||
if(TARGET test_traits)
|
||||
ament_target_dependencies(test_traits
|
||||
"test_msgs"
|
||||
)
|
||||
target_link_libraries(test_traits
|
||||
${PROJECT_NAME}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
ament_package()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue