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

Function pdcp_test_name_get

dpdk/app/test/test_pdcp.c:111–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static const char*
112pdcp_test_name_get(enum pdcp_test_suite_type type, int idx)
113{
114 const char *test_name = NULL;
115
116 switch (type) {
117 case PDCP_TEST_SUITE_TY_BASIC:
118 test_name = pdcp_test_params[idx].name;
119 break;
120 case PDCP_TEST_SUITE_TY_SDAP:
121 test_name = list_pdcp_sdap_tests[idx].param.name;
122 break;
123 default:
124 return NULL;
125 }
126
127 return test_name;
128}
129
130static int
131run_test_foreach_known_vec(test_with_conf_t test, bool stop_on_first_pass,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected