|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Comprehensive NVS (Non-Volatile Storage) testing suite for ESP32-C6 DevKit-M-1 (noexcept) More...
#include "TestFramework.h"#include "base/BaseNvs.h"#include "mcu/esp32/EspNvs.h"#include <cstdio>#include <cstring>#include <random>Functions | |
| bool | test_nvs_initialization () noexcept |
| bool | test_nvs_u32_operations () noexcept |
| bool | test_nvs_string_operations () noexcept |
| bool | test_nvs_blob_operations () noexcept |
| bool | test_nvs_key_operations () noexcept |
| bool | test_nvs_commit_operations () noexcept |
| bool | test_nvs_statistics_diagnostics () noexcept |
| bool | test_nvs_metadata () noexcept |
| bool | test_nvs_edge_cases () noexcept |
| bool | test_nvs_stress () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "NVS_Test" |
| static TestResults | g_test_results |
| static constexpr size_t | TEST_BUFFER_SIZE = 128 |
| static constexpr size_t | LARGE_BUFFER_SIZE = 1024 |
| static constexpr hf_u32_t | TEST_U32_VALUE = 0xDEADBEEF |
| static constexpr hf_u32_t | TEST_U32_MAX = 0xFFFFFFFF |
| static constexpr hf_u32_t | TEST_U32_MIN = 0x00000000 |
| static const char * | TEST_STRING = "Hello, ESP32-C6 NVS!" |
| static const char * | LONG_STRING = "This is a test string for NVS storage." |
| static const uint8_t | TEST_BLOB_DATA [] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08} |
| static constexpr bool | ENABLE_CORE_TESTS |
| static constexpr bool | ENABLE_DATA_TESTS = true |
| static constexpr bool | ENABLE_MANAGEMENT_TESTS = true |
| static constexpr bool | ENABLE_DIAGNOSTIC_TESTS = true |
| static constexpr bool | ENABLE_STRESS_TESTS = true |
Comprehensive NVS (Non-Volatile Storage) testing suite for ESP32-C6 DevKit-M-1 (noexcept)
This test suite provides full coverage of the EspNvs class, testing all methods, error conditions, edge cases, and boundary conditions. The tests are designed to run without exceptions and without RTTI.
| void app_main | ( | void | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |