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

Function test_mq_create

src/utest/messagequeue_tc.c:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static void test_mq_create(void)
45{
46#ifdef RT_USING_HEAP
47 dynamic_mq = rt_mq_create("testmq2", MSG_SIZE, MAX_MSGS, RT_IPC_FLAG_FIFO);
48 uassert_true(dynamic_mq != RT_NULL);
49#endif /* RT_USING_HEAP */
50}
51
52static void mq_send_case(rt_mq_t testmq)
53{

Callers

nothing calls this directly

Calls 1

rt_mq_createFunction · 0.85

Tested by

no test coverage detected