Go to the documentation of this file.
75 x_msg_va(
const unsigned int flags,
const char *format,
81 printf(
"FATAL ERROR:");
94 x_msg(
const unsigned int flags,
const char *format, ...)
97 va_start(arglist, format);
107 mock_assert(
false, condition ? condition :
"", filename, line);
113 assert_failed(
const char *filename,
int line,
const char *condition)
115 msg(
M_FATAL,
"Assertion failed at %s:%d (%s)", filename, line, condition ? condition :
"");
128 fprintf(stderr,
"Out of Memory\n");
void x_msg_va(const unsigned int flags, const char *format, va_list arglist)
bool fatal_error_triggered
bool dont_mute(unsigned int flags)
Check muting filter.
unsigned int x_debug_level
int mock_get_debug_level(void)
void x_msg(const unsigned int flags, const char *format,...)
char mock_msg_buf[MOCK_MSG_BUF]
void assert_failed(const char *filename, int line, const char *condition)
unsigned int print_x_debug_level
int get_debug_level(void)
void mock_set_debug_level(int level)
Mock debug level defaults to 0, which gives clean(-ish) test reports.
void mock_set_print_debug_level(int level)