MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / test_mq_init

Function test_mq_init

src/utest/messagequeue_tc.c:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#endif /* RT_USING_HEAP */
36
37static void test_mq_init(void)
38{
39 rt_err_t ret;
40 ret = rt_mq_init(&static_mq,"testmq1", mq_buf, MSG_SIZE, sizeof(mq_buf), RT_IPC_FLAG_FIFO);
41 uassert_true(ret == RT_EOK);
42}
43
44static void test_mq_create(void)
45{

Callers

nothing calls this directly

Calls 1

rt_mq_initFunction · 0.85

Tested by

no test coverage detected