Add mocking unit tests for rcl_yaml_param_parser (coverage part 3/3) (#772)
* Add mocking unit tests for rcl_yaml Signed-off-by: Stephen Brawner <brawner@gmail.com> * deallocate test_path Signed-off-by: Stephen Brawner <brawner@gmail.com> * Fix memory leaks Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
08bbdde860
commit
b62b83b5cd
5 changed files with 494 additions and 2 deletions
|
@ -107,7 +107,7 @@ if(BUILD_TESTING)
|
|||
"rcutils"
|
||||
"osrf_testing_tools_cpp"
|
||||
)
|
||||
target_link_libraries(test_parse ${PROJECT_NAME})
|
||||
target_link_libraries(test_parse ${PROJECT_NAME} mimick)
|
||||
endif()
|
||||
|
||||
ament_add_gtest(test_parser
|
||||
|
@ -119,7 +119,7 @@ if(BUILD_TESTING)
|
|||
"rcutils"
|
||||
"osrf_testing_tools_cpp"
|
||||
)
|
||||
target_link_libraries(test_parser ${PROJECT_NAME})
|
||||
target_link_libraries(test_parser ${PROJECT_NAME} mimick)
|
||||
target_compile_definitions(test_parser PUBLIC RCUTILS_ENABLE_FAULT_INJECTION)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue