| 54 | } |
| 55 | |
| 56 | static const cbm_test_registration_t *registration_of(const cbm_test_model_t *m, const char *test) { |
| 57 | int n = 0; |
| 58 | const cbm_test_registration_t *regs = cbm_test_model_registrations(m, &n); |
| 59 | for (int i = 0; i < n; i++) { |
| 60 | if (strcmp(regs[i].test, test) == 0) { |
| 61 | return ®s[i]; |
| 62 | } |
| 63 | } |
| 64 | return NULL; |
| 65 | } |
| 66 | |
| 67 | static int count_cases(const cbm_test_model_t *m) { |
| 68 | int n = 0; |
no test coverage detected