|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
Macros | |
| #define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
| #define | THREAD_TEST_PRIORITY 5 |
Enumerations | |
| enum | { MUTEX_INIT_NULL , MUTEX_INIT_INVALID_OBJ , MUTEX_LOCK_NULL , MUTEX_LOCK_INVALID_OBJ , MUTEX_UNLOCK_NULL , MUTEX_UNLOCK_INVALID_OBJ , NOT_DEFINE } |
Functions | |
| static | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| void | ztest_post_fatal_error_hook (unsigned int reason, const struct arch_esf *pEsf) |
| static void | tThread_entry_negative (void *p1, void *p2, void *p3) |
| static int | create_negative_test_thread (int choice) |
| void | test_mutex_init_null (void) |
| Test initializing mutex with a NULL pointer. | |
| void | test_mutex_init_invalid_obj (void) |
| Test initialize mutex with a invalid kernel object. | |
| void | test_mutex_lock_null (void) |
| Test locking mutex with a NULL pointer. | |
| void | test_mutex_lock_invalid_obj (void) |
| Test locking mutex with a invalid kernel object. | |
| void | test_mutex_unlock_null (void) |
| Test unlocking mutex with a NULL pointer. | |
| void | test_mutex_unlock_invalid_obj (void) |
| Test unlocking mutex with a invalid kernel object. | |
| static void * | mutex_api_tests_setup (void) |
| ZTEST_SUITE (mutex_api_error, NULL, mutex_api_tests_setup, NULL, NULL, NULL) | |
Variables | |
| static ZTEST_DMEM int | case_type |
| static struct k_mutex | mutex |
| static struct k_sem | sem |
| static struct k_pipe | pipe |
| static struct k_queue | queue |
| static struct k_thread | tdata |
| enum { ... } | neg_case |
| struct k_sem | offload_sem |
| #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
| #define THREAD_TEST_PRIORITY 5 |
| anonymous enum |
|
static |
|
static |
|
static |
|
static |
| ZTEST_SUITE | ( | mutex_api_error | , |
| NULL | , | ||
| mutex_api_tests_setup | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | ) |
|
static |
|
static |
| enum { ... } neg_case |
|
extern |
|
static |
|
static |
|
static |
|
static |