|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for Bno08xHandler. More...
#include "TestFramework.h"#include "esp32_bus_setup.hpp"#include "esp32_test_config.hpp"#include "handlers/bno08x/Bno08xHandler.h"#include <memory>#include "esp_log.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_enable_accelerometer () noexcept |
| static bool | test_disable_sensor () noexcept |
| static bool | test_read_acceleration () noexcept |
| static bool | test_read_imu_data () noexcept |
| static bool | test_freshness_gating () noexcept |
| static bool | test_full_config () noexcept |
| static bool | test_hardware_reset () noexcept |
| static bool | test_operations_before_init () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "BNO08x_Handler_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_INITIALIZATION_TESTS = true |
| static constexpr bool | ENABLE_SENSOR_CONTROL_TESTS = true |
| static constexpr bool | ENABLE_DATA_READING_TESTS = true |
| static constexpr bool | ENABLE_FRESHNESS_TESTS = true |
| static constexpr bool | ENABLE_CONFIG_TESTS = true |
| static constexpr bool | ENABLE_CALLBACK_TESTS = true |
| static constexpr bool | ENABLE_HARDWARE_CTRL_TESTS = true |
| static constexpr bool | ENABLE_ERROR_HANDLING_TESTS = true |
| static constexpr bool | ENABLE_THREAD_SAFETY_TESTS = true |
| static std::unique_ptr< EspGpio > | g_int_gpio |
| static std::unique_ptr< EspGpio > | g_rst_gpio |
| static std::unique_ptr< Bno08xHandler > | g_handler |
Comprehensive test suite for Bno08xHandler.
Tests the BNO08x IMU handler through its full public API, exercising the underlying CRTP I2C adapter and BNO085 driver.
Test Categories:
Hardware Required:
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |