Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
test_queue_fail.c File Reference
#include "test_queue.h"

Macros

#define TIMEOUT   K_MSEC(100)
 
#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACKSIZE)
 
#define LIST_LEN   2
 

Functions

static K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACKSIZE))
 
void test_queue_get_fail (void)
 Test k_queue_get() failure scenario. More...
 
static void tThread_entry (void *p1, void *p2, void *p3)
 
void test_queue_append_list_error (void)
 Test k_queue_append_list() failure scenario. More...
 
void test_queue_merge_list_error (void)
 Test k_queue_merge_slist() failure scenario. More...
 
void test_queue_init_null (void)
 Test k_queue_init() failure scenario. More...
 
void test_queue_alloc_append_null (void)
 Test k_queue_alloc_append() failure scenario. More...
 
void test_queue_alloc_prepend_null (void)
 Test k_queue_alloc_prepend() failure scenario. More...
 
void test_queue_get_null (void)
 Test k_queue_get() failure scenario. More...
 
void test_queue_is_empty_null (void)
 Test k_queue_is_empty() failure scenario. More...
 
void test_queue_peek_head_null (void)
 Test k_queue_peek_head() failure scenario. More...
 
void test_queue_peek_tail_null (void)
 Test k_queue_peek_tail() failure scenario. More...
 
void test_queue_cancel_wait_error (void)
 Test k_queue_merge_slist() failure scenario. More...
 

Variables

static struct k_thread tdata
 

Macro Definition Documentation

◆ LIST_LEN

#define LIST_LEN   2

◆ STACK_SIZE

#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACKSIZE)

◆ TIMEOUT

#define TIMEOUT   K_MSEC(100)

Function Documentation

◆ K_THREAD_STACK_DEFINE()

static K_THREAD_STACK_DEFINE ( tstack  ,
(512+CONFIG_TEST_EXTRA_STACKSIZE)   
)
static

◆ tThread_entry()

static void tThread_entry ( void p1,
void p2,
void p3 
)
static

Variable Documentation

◆ tdata

struct k_thread tdata
static