* correctly copy state label

* correctly copy transition label

* uncrustify

* address comments

* up

* use init and fini functions from rcl
This commit is contained in:
Karsten Knese 2017-12-05 20:22:57 -08:00 committed by GitHub
parent d823982f22
commit c40f3c25c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 272 additions and 71 deletions

View file

@ -90,6 +90,15 @@ if(BUILD_TESTING)
)
target_link_libraries(test_state_wrapper ${PROJECT_NAME})
endif()
ament_add_gtest(test_transition_wrapper test/test_transition_wrapper.cpp)
if(TARGET test_transition_wrapper)
target_include_directories(test_transition_wrapper PUBLIC
${rcl_lifecycle_INCLUDE_DIRS}
${rclcpp_INCLUDE_DIRS}
${rclcpp_lifecycle_INCLUDE_DIRS}
)
target_link_libraries(test_transition_wrapper ${PROJECT_NAME})
endif()
endif()
ament_export_dependencies(rclcpp)