Home
last modified time | relevance | path

Searched refs:exp_msg (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/logging/log_api/src/
Dmock_frontend.c90 struct mock_log_backend_msg *exp_msg = &mock.exp_msgs[mock.msg_proc_idx]; in log_frontend_msg() local
98 if (!exp_msg->check) { in log_frontend_msg()
102 zassert_equal(desc.level, exp_msg->level); in log_frontend_msg()
103 zassert_equal(desc.domain, exp_msg->domain_id); in log_frontend_msg()
115 zassert_equal(source_id, exp_msg->source_id, "got: %d, exp: %d", in log_frontend_msg()
116 source_id, exp_msg->source_id); in log_frontend_msg()
118 zassert_equal(exp_msg->data_len, desc.data_len); in log_frontend_msg()
119 if (exp_msg->data_len <= sizeof(exp_msg->data)) { in log_frontend_msg()
120 zassert_equal(memcmp(data, exp_msg->data, desc.data_len), 0); in log_frontend_msg()
131 zassert_equal(strcmp(str, exp_msg->str), 0, "Got \"%s\", Expected:\"%s\"", in log_frontend_msg()
[all …]