| 109 | } |
| 110 | |
| 111 | static const char* |
| 112 | pdcp_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 | |
| 130 | static int |
| 131 | run_test_foreach_known_vec(test_with_conf_t test, bool stop_on_first_pass, |
no outgoing calls
no test coverage detected