| 188 | |
| 189 | #ifdef RT_USING_HEAP |
| 190 | static 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 | |
| 209 | static void test_event_delete(void) |
| 210 | { |
nothing calls this directly
no test coverage detected