From bf2029acf8182963612a798d6b7d4c7a529dbe63 Mon Sep 17 00:00:00 2001 From: tomoya Date: Wed, 19 Aug 2020 22:43:55 +0900 Subject: [PATCH] remove debugging statements. (#755) Signed-off-by: Tomoya.Fujita --- rcl_yaml_param_parser/test/test_parse_yaml.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rcl_yaml_param_parser/test/test_parse_yaml.cpp b/rcl_yaml_param_parser/test/test_parse_yaml.cpp index e7a7f1f..5714404 100644 --- a/rcl_yaml_param_parser/test/test_parse_yaml.cpp +++ b/rcl_yaml_param_parser/test/test_parse_yaml.cpp @@ -314,7 +314,6 @@ TEST(test_file_parser, seq_map1) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. } @@ -339,7 +338,6 @@ TEST(test_file_parser, seq_map2) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails } @@ -364,7 +362,6 @@ TEST(test_file_parser, params_with_no_node) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. } @@ -389,7 +386,6 @@ TEST(test_file_parser, no_alias_support) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. } @@ -442,7 +438,6 @@ TEST(test_file_parser, no_value1) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. } @@ -467,7 +462,6 @@ TEST(test_file_parser, indented_ns) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. } @@ -493,7 +487,6 @@ TEST(test_file_parser, maximum_number_parameters) { rcl_params_t * params_hdl = rcl_yaml_node_struct_init(allocator); ASSERT_TRUE(NULL != params_hdl) << rcutils_get_error_string().str; bool res = rcl_parse_yaml_file(path, params_hdl); - fprintf(stderr, "%s\n", rcutils_get_error_string().str); EXPECT_FALSE(res); // No cleanup, rcl_parse_yaml_file takes care of that if it fails. }