MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / registration_of

Function registration_of

tests/test_test_impact.c:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static 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 &regs[i];
62 }
63 }
64 return NULL;
65}
66
67static int count_cases(const cbm_test_model_t *m) {
68 int n = 0;

Callers 1

test_test_impact.cFile · 0.85

Calls 1

Tested by

no test coverage detected