Lines Matching defs:test_case
262 static const char *skip_reason(const struct test_suite *t, int test_case)
267 return t->test_cases[test_case >= 0 ? test_case : 0].skip_reason;
270 static const char *test_description(const struct test_suite *t, int test_case)
272 if (t->test_cases && test_case >= 0)
273 return t->test_cases[test_case].desc;
278 static test_fnptr test_function(const struct test_suite *t, int test_case)
280 if (test_case <= 0)
283 return t->test_cases[test_case].run_case;
286 static bool test_exclusive(const struct test_suite *t, int test_case)
288 if (test_case <= 0)
291 return t->test_cases[test_case].exclusive;