MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_dict_char_escaping

Function test_dict_char_escaping

dpdk/app/test/test_telemetry_data.c:523–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523static int
524test_dict_char_escaping(void)
525{
526 rte_tel_data_start_dict(&response_data);
527 rte_tel_data_add_dict_string(&response_data, "name", "escaped\n\tvalue");
528 return CHECK_OUTPUT("{\"name\":\"escaped\\n\\tvalue\"}");
529}
530
531static int
532connect_to_socket(void)

Callers

nothing calls this directly

Calls 2

rte_tel_data_start_dictFunction · 0.85

Tested by

no test coverage detected