|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
#include <zephyr/ztest.h>| static ZTEST_DMEM unsigned char | data [] = "abcdefgh" |
| Tests for the Pipe read / write availability. | |
| static struct k_pipe | pipe |
| static struct k_pipe | bufferless |
| static struct k_pipe | bufferless1 |
| void | test_pipe_avail_no_buffer (void) |
| Pipes with no buffer or size 0 should return 0 bytes available. | |
| void | test_pipe_avail_r_lt_w (void) |
| Test available read / write space for r < w. | |
| void | test_pipe_avail_w_lt_r (void) |
| Test available read / write space for w < r. | |
| void | test_pipe_avail_r_eq_w_empty (void) |
Test available read / write space for r == w and an empty buffer. | |
| void | test_pipe_avail_r_eq_w_full (void) |
Test available read / write space for r == w and a full buffer. | |