|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for Ws2812Handler. More...
#include "TestFramework.h"#include "esp32_bus_setup.hpp"#include "esp32_test_config.hpp"#include "handlers/ws2812/Ws2812Handler.h"#include <memory>#include "esp_log.h"#include "driver/gpio.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Functions | |
| static bool | create_handler () noexcept |
| static bool | test_construction () noexcept |
| static bool | test_initialize () noexcept |
| static bool | test_is_initialized () noexcept |
| static bool | test_set_pixel () noexcept |
| static bool | test_set_all_pixels () noexcept |
| static bool | test_show () noexcept |
| static bool | test_clear () noexcept |
| static bool | test_pixel_out_of_range () noexcept |
| static bool | test_color_sequence () noexcept |
| static bool | test_set_brightness () noexcept |
| static bool | test_brightness_range () noexcept |
| static bool | test_set_effect_rainbow () noexcept |
| static bool | test_tick () noexcept |
| static bool | test_step () noexcept |
| static bool | test_get_strip () noexcept |
| static bool | test_get_animator () noexcept |
| static bool | test_get_num_leds () noexcept |
| static bool | test_dump_diagnostics () noexcept |
| static bool | test_operations_before_init () noexcept |
| static bool | test_deinitialize () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "WS2812_Handler_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_CONSTRUCTION_TESTS = true |
| static constexpr bool | ENABLE_INITIALIZATION_TESTS = true |
| static constexpr bool | ENABLE_PIXEL_CONTROL_TESTS = true |
| static constexpr bool | ENABLE_BRIGHTNESS_TESTS = true |
| static constexpr bool | ENABLE_ANIMATION_TESTS = true |
| static constexpr bool | ENABLE_DIRECT_ACCESS_TESTS = true |
| static constexpr bool | ENABLE_DIAGNOSTICS_TESTS = true |
| static constexpr bool | ENABLE_ERROR_HANDLING_TESTS = true |
| static std::unique_ptr< Ws2812Handler > | g_handler |
| static bool | g_hw_present = false |
Comprehensive test suite for Ws2812Handler.
Tests: Config-based construction, initialization, pixel set (individual + all), clear, show, brightness, animation effects (rainbow, chase, breathe), tick/step, GetNumLeds, direct strip/animator access, diagnostics dump, and pre-init error handling.
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |