Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
main.c File Reference
#include <ztest.h>

Functions

void test_pipe_on_single_elements (void)
 Verify pipe with 1 element insert. More...
 
void test_pipe_on_multiple_elements (void)
 Test when multiple items are present in the pipe. More...
 
void test_pipe_forever_wait (void)
 Test when multiple items are present with wait. More...
 
void test_pipe_timeout (void)
 Test pipes with timeout. More...
 
void test_pipe_get_on_empty_pipe (void)
 Test pipe get from a empty pipe. More...
 
void test_pipe_forever_timeout (void)
 Test the pipe_get with K_FOREVER as timeout. More...
 
void test_pipe_get_timeout (void)
 k_pipe_get timeout test More...
 
void test_pipe_get_invalid_size (void)
 Test pipe get of invalid size. More...
 
void test_pipe_get_min_xfer (void)
 Test pipe get returns immediately if >= min_xfer is available. More...
 
void test_pipe_put_min_xfer (void)
 Test pipe put returns immediately if >= min_xfer is available. More...
 
void test_pipe_define_at_runtime (void)
 Test defining and initializing pipes at run time. More...
 
void test_main (void)
 

Variables

struct k_pipe test_pipe
 
struct k_sem put_sem get_sem sync_sem multiple_send_sem
 
struct k_stack stack_1
 
struct k_thread get_single_tid
 

Function Documentation

◆ test_main()

void test_main ( void  )

test case main entry

Variable Documentation

◆ get_single_tid

struct k_thread get_single_tid
extern

◆ multiple_send_sem

struct k_sem put_sem get_sem sync_sem multiple_send_sem
extern

◆ stack_1

struct k_stack stack_1
extern

◆ test_pipe

struct k_pipe test_pipe
extern