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

Function nb_tests_get

dpdk/app/test/test_pdcp.c:92–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90typedef int (*test_with_conf_t)(struct pdcp_test_conf *conf);
91
92static uint32_t
93nb_tests_get(enum pdcp_test_suite_type type)
94{
95 uint32_t ret;
96
97 switch (type) {
98 case PDCP_TEST_SUITE_TY_BASIC:
99 ret = NB_BASIC_TESTS;
100 break;
101 case PDCP_TEST_SUITE_TY_SDAP:
102 ret = NB_SDAP_TESTS;
103 break;
104 default:
105 return 0;
106 }
107
108 return ret;
109}
110
111static const char*
112pdcp_test_name_get(enum pdcp_test_suite_type type, int idx)

Callers 2

test_pdcpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected