|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for Logger singleton. More...
#include "TestFramework.h"#include "handlers/logger/Logger.h"#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Functions | |
| static bool | test_singleton_access () noexcept |
| static bool | test_initialize () noexcept |
| static bool | test_reinitialize () noexcept |
| static bool | test_log_all_levels () noexcept |
| static bool | test_set_log_level () noexcept |
| static bool | test_formatted_output () noexcept |
| static bool | test_ascii_art () noexcept |
| static bool | test_enable_disable_features () noexcept |
| static bool | test_concurrent_logging () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "Logger_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_SINGLETON_TESTS = true |
| static constexpr bool | ENABLE_INIT_TESTS = true |
| static constexpr bool | ENABLE_LOG_LEVEL_TESTS = true |
| static constexpr bool | ENABLE_FORMATTED_OUTPUT_TESTS = true |
| static constexpr bool | ENABLE_ASCII_ART_TESTS = true |
| static constexpr bool | ENABLE_CONFIG_TESTS = true |
| static constexpr bool | ENABLE_THREAD_SAFETY_TESTS = true |
Comprehensive test suite for Logger singleton.
Tests: Singleton access, initialization, log levels, formatted output with colors/styles, ASCII art rendering, log level filtering, tag-based level override, enable/disable features, flush, and thread safety.
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |