Warn unused (#327)

* comply with unused warnings

* fix flakiness and add test for transitions

* mark flaky test

* duplicate const char * in State constructor

* linters

* correct year in license

* mark flaky test
This commit is contained in:
Karsten Knese 2017-05-25 19:52:50 -07:00 committed by GitHub
parent 5777bbee79
commit 708903e5df
5 changed files with 118 additions and 16 deletions

View file

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