|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for hf-utils-rtos-wrap FreeRTOS wrappers. More...
#include "TestFramework.h"#include "Mutex.h"#include "MutexGuard.h"#include "PeriodicTimer.h"#include "BaseThread.h"#include "OsQueue.h"#include "OsEventFlags.h"#include "SignalSemaphore.h"#include "OsUtility.h"#include <atomic>#include <cstring>#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Classes | |
| class | TestThread |
Functions | |
| static bool | test_mutex_create () noexcept |
| static bool | test_mutex_lock_unlock () noexcept |
| static bool | test_mutex_contention () noexcept |
| static bool | test_lock_guard_scoped () noexcept |
| static void | timer_callback (uint32_t arg) |
| static bool | test_periodic_timer () noexcept |
| static bool | test_base_thread () noexcept |
| static bool | test_os_queue () noexcept |
| static bool | test_os_queue_full () noexcept |
| static bool | test_event_flags () noexcept |
| static bool | test_semaphore () noexcept |
| static bool | test_os_delay () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "RTOS_Wrap_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_MUTEX_TESTS = true |
| static constexpr bool | ENABLE_LOCK_GUARD_TESTS = true |
| static constexpr bool | ENABLE_PERIODIC_TIMER_TESTS = true |
| static constexpr bool | ENABLE_THREAD_TESTS = true |
| static constexpr bool | ENABLE_QUEUE_TESTS = true |
| static constexpr bool | ENABLE_EVENT_FLAGS_TESTS = true |
| static constexpr bool | ENABLE_SEMAPHORE_TESTS = true |
| static constexpr bool | ENABLE_DELAY_TESTS = true |
| static std::atomic< int > | g_timer_count {0} |
Comprehensive test suite for hf-utils-rtos-wrap FreeRTOS wrappers.
Tests: Mutex, MutexGuard, PeriodicTimer, BaseThread (subclass), OsQueue, OsEventFlags, SignalSemaphore, os_delay functions, and multi-threaded synchronization scenarios.
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |