Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_queue_fail.c File Reference
#include "test_queue.h"

Macros

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

Functions

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

Variables

static struct k_thread tdata
 

Macro Definition Documentation

◆ LIST_LEN

#define LIST_LEN   2

◆ STACK_SIZE

#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACK_SIZE)

◆ TIMEOUT

#define TIMEOUT   K_MSEC(100)

Function Documentation

◆ K_SEM_DEFINE()

K_SEM_DEFINE ( sem ,
0 ,
1  )

◆ K_THREAD_STACK_DEFINE()

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

◆ tThread_entry()

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

Variable Documentation

◆ tdata

struct k_thread tdata
static