Lines Matching refs:uts

27 void ut_fail(struct unit_test_state *uts, const char *fname, int line,
40 void ut_failf(struct unit_test_state *uts, const char *fname, int line,
57 int ut_check_console_line(struct unit_test_state *uts, const char *fmt, ...)
74 int ut_check_console_linen(struct unit_test_state *uts, const char *fmt, ...)
83 int ut_check_skipline(struct unit_test_state *uts);
94 int ut_check_console_end(struct unit_test_state *uts);
105 int ut_check_console_dump(struct unit_test_state *uts, int total_bytes);
110 ut_fail(uts, __FILE__, __LINE__, __func__, #cond); \
117 ut_failf(uts, __FILE__, __LINE__, __func__, #cond, \
127 ut_failf(uts, __FILE__, __LINE__, __func__, \
140 ut_failf(uts, __FILE__, __LINE__, __func__, \
156 ut_failf(uts, __FILE__, __LINE__, __func__, \
172 ut_failf(uts, __FILE__, __LINE__, __func__, \
189 ut_failf(uts, __FILE__, __LINE__, __func__, \
207 ut_failf(uts, __FILE__, __LINE__, __func__, \
220 ut_failf(uts, __FILE__, __LINE__, __func__, \
233 ut_failf(uts, __FILE__, __LINE__, __func__, \
245 ut_failf(uts, __FILE__, __LINE__, __func__, \
257 ut_failf(uts, __FILE__, __LINE__, __func__, \
269 ut_failf(uts, __FILE__, __LINE__, __func__, \
282 if (ut_check_console_line(uts, fmt, ##args)) { \
283 ut_failf(uts, __FILE__, __LINE__, __func__, \
285 uts->expect_str, uts->actual_str); \
291 if (ut_check_console_linen(uts, fmt, ##args)) { \
292 ut_failf(uts, __FILE__, __LINE__, __func__, \
294 uts->expect_str, uts->actual_str); \
300 if (ut_check_skipline(uts)) { \
301 ut_failf(uts, __FILE__, __LINE__, __func__, \
308 if (ut_check_console_end(uts)) { \
309 ut_failf(uts, __FILE__, __LINE__, __func__, \
311 uts->actual_str); \
317 if (ut_check_console_dump(uts, total_bytes)) { \
318 ut_failf(uts, __FILE__, __LINE__, __func__, \
321 total_bytes, uts->actual_str); \
349 void ut_silence_console(struct unit_test_state *uts);
357 void ut_unsilence_console(struct unit_test_state *uts);