9 __attribute__((format(printf, 3, 0)))
10 void __wrap_dlog (int sink, int prio, const char * fmt, ...)
12 char buff[MAX_MSG_SIZE];
15 assert_int_equal(prio, mock_type(int));
17 vsnprintf(buff, MAX_MSG_SIZE, fmt, ap);
19 assert_string_equal(buff, mock_ptr_type(char *));
22 void expect_condlog(int prio, char *string)
24 will_return(__wrap_dlog, prio);
25 will_return(__wrap_dlog, string);