Searched refs:exp_msg (Results 1 – 1 of 1) sorted by relevance
| /Zephyr-latest/tests/subsys/logging/log_api/src/ |
| D | mock_frontend.c | 90 struct mock_log_backend_msg *exp_msg = &mock.exp_msgs[mock.msg_proc_idx]; in log_frontend_msg() local 99 if (!exp_msg->check) { in log_frontend_msg() 110 zassert_equal(desc.level, exp_msg->level); in log_frontend_msg() 111 zassert_equal(desc.domain, exp_msg->domain_id); in log_frontend_msg() 121 zassert_equal(source_id, exp_msg->source_id, "got: %d, exp: %d", in log_frontend_msg() 122 source_id, exp_msg->source_id); in log_frontend_msg() 124 zassert_equal(exp_msg->data_len, desc.data_len); in log_frontend_msg() 125 if (exp_msg->data_len <= sizeof(exp_msg->data)) { in log_frontend_msg() 126 zassert_equal(memcmp(data, exp_msg->data, desc.data_len), 0); in log_frontend_msg() 137 zassert_equal(strcmp(str, exp_msg->str), 0, "Got \"%s\", Expected:\"%s\"", in log_frontend_msg() [all …]
|