[YAML Parser] Support parameter value parsing (#471)
* Support parameter YAML string value parsing. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Address peer review comments. - Improve test coverage using new getter API. - Unify function return style and improve readability. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Clean up allocations in rcl_yaml_param_parser package tests. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
This commit is contained in:
parent
f9ceef5c86
commit
5fde9c0c0e
5 changed files with 494 additions and 135 deletions
|
@ -49,6 +49,7 @@ install(TARGETS ${PROJECT_NAME}
|
|||
if(BUILD_TESTING)
|
||||
find_package(ament_cmake_gtest REQUIRED)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
find_package(osrf_testing_tools_cpp REQUIRED)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
|
||||
# Gtests
|
||||
|
@ -57,6 +58,8 @@ if(BUILD_TESTING)
|
|||
)
|
||||
if(TARGET test_parse_yaml)
|
||||
target_link_libraries(test_parse_yaml ${PROJECT_NAME})
|
||||
target_include_directories(test_parse_yaml
|
||||
PRIVATE ${osrf_testing_tools_cpp_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue