| 43 | } |
| 44 | |
| 45 | static const cbm_test_case_t *case_named(const cbm_test_model_t *m, const char *name) { |
| 46 | int n = 0; |
| 47 | const cbm_test_case_t *cases = cbm_test_model_cases(m, &n); |
| 48 | for (int i = 0; i < n; i++) { |
| 49 | if (strcmp(cases[i].name, name) == 0) { |
| 50 | return &cases[i]; |
| 51 | } |
| 52 | } |
| 53 | return NULL; |
| 54 | } |
| 55 | |
| 56 | static const cbm_test_registration_t *registration_of(const cbm_test_model_t *m, const char *test) { |
| 57 | int n = 0; |
no test coverage detected