BNO08x unit test helper class.
More...
#include <BNO08xTestHelper.hpp>
BNO08x unit test helper class.
◆ call_deinit_gpio()
| static esp_err_t BNO08xTestHelper::call_deinit_gpio |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::deinit_gpio() member for tests.
- Returns
- ESP_OK if deinit succeeded.
◆ call_deinit_hint_isr()
| static esp_err_t BNO08xTestHelper::call_deinit_hint_isr |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::deinit_hint_isr() member for tests.
- Returns
- ESP_OK if deinit succeeded.
◆ call_deinit_sh2_HAL()
| static esp_err_t BNO08xTestHelper::call_deinit_sh2_HAL |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::deinit_tasks() member for tests.
- Returns
- ESP_OK if deinit succeeded.
◆ call_deinit_spi()
| static esp_err_t BNO08xTestHelper::call_deinit_spi |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::deinit_spi() member for tests.
- Returns
- ESP_OK if deinit succeeded.
◆ call_deinit_tasks()
| static esp_err_t BNO08xTestHelper::call_deinit_tasks |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::deinit_tasks() member for tests.
- Returns
- ESP_OK if deinit succeeded.
◆ call_init_config_args()
| static esp_err_t BNO08xTestHelper::call_init_config_args |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_config_args() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ call_init_gpio()
| static esp_err_t BNO08xTestHelper::call_init_gpio |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_gpio() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ call_init_hint_isr()
| static esp_err_t BNO08xTestHelper::call_init_hint_isr |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_hint_isr() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ call_init_sh2_HAL()
| static esp_err_t BNO08xTestHelper::call_init_sh2_HAL |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_tasks() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ call_init_spi()
| static esp_err_t BNO08xTestHelper::call_init_spi |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_spi() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ call_init_tasks()
| static esp_err_t BNO08xTestHelper::call_init_tasks |
( |
| ) |
|
|
inlinestatic |
Used to call private BNO08x::init_tasks() member for tests.
- Returns
- ESP_OK if init succeeded.
◆ create_test_imu()
| static void BNO08xTestHelper::create_test_imu |
( |
| ) |
|
|
inlinestatic |
Calls BNO08x constructor and creates new test IMU on heap.
- Returns
- void, nothing to return
◆ destroy_test_imu()
| static void BNO08xTestHelper::destroy_test_imu |
( |
| ) |
|
|
inlinestatic |
Deletes test IMU calling deconstructor and releases heap allocated memory.
- Returns
- void, nothing to return
◆ get_test_imu()
| static BNO08x * BNO08xTestHelper::get_test_imu |
( |
| ) |
|
|
inlinestatic |
Deletes test IMU calling deconstructor and releases heap allocated memory.
- Returns
- Pointer to BNO08x IMU object to test.
◆ print_test_end_banner()
| static void BNO08xTestHelper::print_test_end_banner |
( |
const char * |
TEST_TAG | ) |
|
|
inlinestatic |
Prints end begin banner.
- Parameters
-
| TEST_TAG | String containing test name. |
- Returns
- void, nothing to return
◆ print_test_msg()
| static void BNO08xTestHelper::print_test_msg |
( |
const char * |
TEST_TAG, |
|
|
const char * |
msg |
|
) |
| |
|
inlinestatic |
Prints a message during a test.
- Parameters
-
| TEST_TAG | String containing test name. |
| msg | String containing message to print. |
- Returns
- void, nothing to return
◆ print_test_start_banner()
| static void BNO08xTestHelper::print_test_start_banner |
( |
const char * |
TEST_TAG | ) |
|
|
inlinestatic |
Prints test begin banner.
- Parameters
-
| TEST_TAG | String containing test name. |
- Returns
- void, nothing to return
◆ set_test_imu_cfg()
Set test imu configuration used with create_test_imu()
- Parameters
-
| cfg | String containing test name. |
- Returns
- void, nothing to return
The documentation for this class was generated from the following file: