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

Macros

#define MAX_SZ   128
 

Functions

void test_poll_no_wait (void)
 Test poll events with no wait. More...
 
void test_poll_wait (void)
 Test polling with wait. More...
 
void test_poll_zero_events (void)
 
void test_poll_cancel_main_low_prio (void)
 
void test_poll_cancel_main_high_prio (void)
 
void test_poll_multi (void)
 Test polling of multiple events. More...
 
void test_poll_threadstate (void)
 Test polling of events by manipulating polling thread state. More...
 
void test_poll_grant_access (void)
 
void test_poll_fail_grant_access (void)
 
void test_poll_lower_prio (void)
 Test polling of multiple events by lower priority thread. More...
 
void test_condition_met_type_err (void)
 Test API k_poll with error events type in kernel mode. More...
 
void test_detect_is_polling (void)
 Detect is_polling is false in signal_poll_event() More...
 
void test_k_poll_user_num_err (void)
 Test API k_poll with error number events in user mode. More...
 
void test_k_poll_user_mem_err (void)
 Test API k_poll with error member of events in user mode. More...
 
void test_k_poll_user_type_sem_err (void)
 Test API k_poll with NULL sem event in user mode. More...
 
void test_k_poll_user_type_signal_err (void)
 Test API k_poll with NULL signal event in user mode. More...
 
void test_k_poll_user_type_fifo_err (void)
 Test API k_poll with NULL fifo event in user mode. More...
 
void test_k_poll_user_type_msgq_err (void)
 Test API k_poll with NULL message queue event in user mode. More...
 
void test_poll_signal_init_null (void)
 Test API k_poll_signal_init with NULL in user mode. More...
 
void test_poll_signal_check_obj (void)
 Test API k_poll_signal_check with NULL object in user mode. More...
 
void test_poll_signal_check_signal (void)
 Test API k_poll_signal_check with unread address in user mode. More...
 
void test_poll_signal_check_result (void)
 Test API k_poll_signal_check with unread address in user mode. More...
 
void test_poll_signal_raise_null (void)
 Test API k_poll_signal_raise with unread address in user mode. More...
 
void test_poll_signal_reset_null (void)
 Test API k_poll_signal_reset with unread address in user mode. More...
 
 K_HEAP_DEFINE (test_heap, 128 *4)
 
void test_main (void)
 

Macro Definition Documentation

◆ MAX_SZ

#define MAX_SZ   128

Function Documentation

◆ K_HEAP_DEFINE()

K_HEAP_DEFINE ( test_heap  ,
128 *  4 
)

◆ test_main()

void test_main ( void  )

test case main entry

◆ test_poll_cancel_main_high_prio()

void test_poll_cancel_main_high_prio ( void  )

◆ test_poll_cancel_main_low_prio()

void test_poll_cancel_main_low_prio ( void  )

◆ test_poll_fail_grant_access()

void test_poll_fail_grant_access ( void  )

◆ test_poll_grant_access()

void test_poll_grant_access ( void  )

◆ test_poll_zero_events()

void test_poll_zero_events ( void  )