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

Function test_event_create

src/utest/event_tc.c:190–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189#ifdef RT_USING_HEAP
190static void test_event_create(void)
191{
192 rt_err_t result = RT_EOK;
193
194 dynamic_event = rt_event_create("dynamic_event", RT_IPC_FLAG_FIFO);
195 if (dynamic_event == RT_NULL)
196 {
197 uassert_false(1);
198 }
199
200 result = rt_event_delete(dynamic_event);
201 if (result != RT_EOK)
202 {
203 uassert_false(1);
204 }
205
206 uassert_true(1);
207}
208
209static void test_event_delete(void)
210{

Callers

nothing calls this directly

Calls 2

rt_event_createFunction · 0.85
rt_event_deleteFunction · 0.85

Tested by

no test coverage detected