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:
Michael Carroll 2019-10-15 13:51:57 -05:00 committed by GitHub
parent 8e69b7d505
commit 231b991098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 108 additions and 0 deletions

View file

@ -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()