foxBMS - Unit Tests  1.6.0
The foxBMS Unit Tests API Documentation
Unit Test Implementation

Files

file  test_algorithm_cfg.c
 Test of the algorithm config module.
 
file  test_moving_average.c
 Test of the algorithm module.
 
file  test_soc_counting.c
 Tests for SOC module responsible for calculation of SOC.
 
file  test_soc_debug.c
 Tests for SOC module responsible for calculation of state-of-charge.
 
file  test_soc_none.c
 Tests for SOC module responsible for calculation of state-of-charge.
 
file  test_soe_counting.c
 Test for the configuration for SOE.
 
file  test_soe_debug.c
 Tests for SOE module responsible for calculation of state-of-energy.
 
file  test_soe_none.c
 Tests for SOE module responsible for calculation of state-of-energy.
 
file  test_sof_trapezoid.c
 Tests for SOC module responsible for calculation of current derating.
 
file  test_sof_trapezoid_cfg.c
 Test for the configuration for SOF.
 
file  test_soh_debug.c
 Tests for SOH module responsible for calculation of state-of-health.
 
file  test_soh_none.c
 Tests for SOH module responsible for calculation of state-of-health.
 
file  test_state_estimation.c
 Tests for SOH module responsible for calculation of state-of-health.
 
file  test_algorithm.c
 Test of the algorithm module.
 
file  test_bal_strategy_history.c
 Test of the history based balancing module.
 
file  test_bal_strategy_none.c
 Test of the history based balancing module.
 
file  test_bal.c
 Test of the API of the balancing module.
 
file  test_bal_strategy_voltage.c
 Test of the voltage based balancing module.
 
file  test_bms.c
 Tests for the bms driver implementation.
 
file  test_bal_cfg.c
 Test for the balancing configuration.
 
file  test_battery_cell_cfg.c
 Test for the battery cell configuration.
 
file  test_battery_system_cfg.c
 Tests for the battery_system_cfg module.
 
file  test_soa_cfg.c
 Test for the configuration for SOX.
 
file  test_plausibility.c
 Tests for plausibility checks for cell voltage and cell temperatures.
 
file  test_redundancy.c
 Test of the redundancy module.
 
file  test_soa.c
 Tests for SOA module responsible for the current, voltage and temperature checking of the safe operating area.
 
file  test_adc.c
 Tests for the ADC driver.
 
file  adi_ades1830_helpers_test-data-rdb.c
 Test of some module.
 
file  adi_ades1830_helpers_test-data-rdb.h
 Test of some module.
 
file  adi_ades1830_helpers_test-data-wdb.c
 Test of some module.
 
file  adi_ades1830_helpers_test-data-wdb.h
 Test of some module.
 
file  test_adi_ades1830_afe.c
 Test of some module.
 
file  test_adi_ades1830_afe_dma.c
 Test of some module.
 
file  test_adi_ades1830_pec.c
 Test of ADI PEC computations.
 
file  test_adi_ades1830.c
 Test of some module.
 
file  test_adi_ades1830_buffers.c
 Test of some module.
 
file  test_adi_ades1830_commands.c
 Test of some module.
 
file  test_adi_ades1830_commands_voltages.c
 Test of some module.
 
file  test_adi_ades1830_diagnostic_w.c
 Test of some module.
 
file  test_adi_ades1830_gpio_voltages.c
 Test of some module.
 
file  test_adi_ades1830_helpers.c
 Test of some module.
 
file  test_adi_ades1830_initialization.c
 Test of some module.
 
file  test_adi_ades1830_temperatures.c
 Test of some module.
 
file  test_adi_ades1830_voltages.c
 Test of some module.
 
file  test_adi_ades183x_afe.c
 Test of some module.
 
file  test_adi_ades183x_afe_dma.c
 Test of some module.
 
file  test_adi_ades183x_cfg.c
 Test of some module.
 
file  test_adi_ades183x_pec.c
 Test of some module.
 
file  test_adi_ades183x.c
 Test of some module.
 
file  test_adi_ades183x_buffers.c
 Test of some module.
 
file  test_adi_ades183x_commands.c
 Test of some module.
 
file  test_adi_ades183x_commands_voltages.c
 Test of some module.
 
file  test_adi_ades183x_diagnostic_w.c
 Test of some module.
 
file  test_adi_ades183x_helpers.c
 Test of some module.
 
file  test_adi_ades183x_initialization.c
 Test of some module.
 
file  test_adi_ades183x_temperatures.c
 Test of some module.
 
file  test_adi_ades183x_voltages.c
 Test of some module.
 
file  test_afe_plausibility.c
 Tests for the afe_plausibility.c module.
 
file  test_debug_default_afe.c
 Test of the debug_default_afe.c module.
 
file  test_debug_default_afe_dma.c
 Test of the debug_default_afe_dma.c module.
 
file  test_debug_default.c
 Test of the afe.c module.
 
file  test_ltc_6806_cfg.c
 Tests for the CAN driver.
 
file  test_ltc_6806.c
 Test of the LTC LTC6806 driver.
 
file  test_ltc_6806_pec_in_arrays.c
 Test of the PEC values in the arrays in ltc6806.c module.
 
file  test_ltc_6813-1_cfg.c
 Tests for the CAN driver.
 
file  test_ltc_6813-1.c
 Test of the ltc_6813-1.c module.
 
file  test_ltc_6813-1_pec_in_arrays.c
 Test of the predefined commands in the ltc_6813-1.c module.
 
file  test_ltc_afe.c
 Test of the afe.c module.
 
file  test_ltc_afe_dma.c
 Test of the ltc_afe_dma.c module in ltc.
 
file  test_ltc_pec.c
 Test of the ltc_pec.c module in ltc.
 
file  test_mxm_afe.c
 Test of the afe.c module.
 
file  test_mxm_cfg.c
 Test of the mxm_cfg.c module.
 
file  test_mxm_17841b.c
 Test for the Maxim MAX17841B driver.
 
file  test_mxm_1785x.c
 Test for the Maxim 1785x driver.
 
file  test_mxm_1785x_tools.c
 Test for the Maxim 1785x driver tools.
 
file  test_mxm_afe_dma.c
 Test of the afe_dma.c module in the Maxim driver.
 
file  test_mxm_battery_management.c
 Test for the Maxim UART Battery Management driver.
 
file  test_mxm_bitextract.c
 Test for test_mxm_bitextract.c.
 
file  test_mxm_crc8.c
 Test for the Maxim CRC8 implementation.
 
file  test_mxm_register_map.c
 Test for test_mxm_register_map.c.
 
file  test_mxm_registry.c
 Test for the Maxim registry tool.
 
file  test_mxm_17852.c
 Test for the Maxim 17852 driver.
 
file  test_nxp_afe.c
 Test of the afe.c module.
 
file  test_nxp_mc33775a_afe.c
 Test of some module.
 
file  test_nxp_mc33775a_cfg.c
 Test of some module.
 
file  test_nxp_afe_dma.c
 Test of some module.
 
file  test_nxp_mc33775a-ll.c
 Test of some module.
 
file  test_nxp_mc33775a.c
 Test of some module.
 
file  test_ti_afe.c
 Test of the TI AFE API implementation of the AFE API.
 
file  test_ti_bq79xxx_afe_dma.c
 Test of TI BQ97XXX AFE DMA API implementation of the TI AFE DMA API.
 
file  test_ti_dummy_afe.c
 Test of the wrapper of the TI dummy AFE API implementation of the TI AFE API.
 
file  test_ti_dummy.c
 Test of TI dummy AFE API implementation of the TI AFE API.
 
file  test_can_cbs_rx_aerosol-sensor.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_rx_bms-state-request.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_rx_current-sensor.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_rx_debug.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_rx_imd-info.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_rx_imd-response.c
 Tests for the CAN driver callbacks.
 
file  test_can_helper.c
 Tests for the CAN helper functions.
 
file  test_can_cbs_tx_bms-state-details.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_bms-state.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_cell-temperatures.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_cell-voltages.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_crash-dump.c
 Test of some module.
 
file  test_can_cbs_tx_debug-response.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_debug-unsupported-multiplexer-values.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_imd-request.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_pack-limits.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_pack-minimum-maximum-values.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_pack-state-estimation.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_pack-values-p0.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_pack-values-p1.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_string-minimum-maximum-values.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_string-state-estimation.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_string-state.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_string-values-p0.c
 Tests for the CAN driver callbacks.
 
file  test_can_cbs_tx_string-values-p1.c
 Tests for the CAN driver callbacks.
 
file  test_can.c
 Tests for the CAN driver.
 
file  test_can_1.c
 Tests for the configuration validation functions and counter reset calculation in the the CAN driver.
 
file  test_can_2.c
 Tests for the configuration validation functions in the the CAN driver.
 
file  test_checksum.c
 Tests for the checksum module.
 
file  test_can_cfg.c
 Tests for the CAN driver.
 
file  test_can_cfg_rx.c
 Tests for the CAN driver.
 
file  test_can_cfg_tx.c
 Tests for the CAN driver.
 
file  test_contactor_cfg.c
 Tests for the CAN driver.
 
file  test_dma_cfg.c
 Tests for the dma_cfg module.
 
file  test_fram_cfg.c
 Tests for the FRAM driver.
 
file  test_pex_cfg.c
 Tests for the port expander driver.
 
file  test_spi_cfg.c
 Tests for the CAN driver.
 
file  test_sps_cfg.c
 Tests for the SPS driver.
 
file  test_contactor.c
 Test of the contactor.c module.
 
file  test_crc.c
 Test of the crc module.
 
file  test_dma.c
 Tests for the dma module.
 
file  test_foxmath.c
 Tests for the foxmath module.
 
file  test_fram.c
 Tests for the fram module.
 
file  test_htsensor.c
 Tests for the driver for the I2C humidity/temperature sensor.
 
file  test_i2c.c
 Tests for the I2C module.
 
file  test_bender_ir155.c
 Tests for the Bender IR155 driver.
 
file  test_bender_ir155_helper.c
 Tests for the Bender IR155 driver.
 
file  test_bender_iso165c.c
 Test of the Bender iso165c driver.
 
file  test_no-imd.c
 Tests for the dummy insulation monitoring driver.
 
file  test_imd.c
 Tests for the Insulation Monitoring Device (IMD) driver.
 
file  test_interlock.c
 Tests for the interlock module.
 
file  test_io.c
 Tests for the io module.
 
file  test_led.c
 Tests for the led module.
 
file  test_mcu.c
 Tests for the mcu module.
 
file  test_meas.c
 Tests for the meas module.
 
file  test_pex.c
 Tests for the port expander module.
 
file  test_pwm.c
 Tests for the PWM driver.
 
file  test_rtc.c
 Tests for the rtc module.
 
file  test_nxpfs85xx.c
 Tests for the sbc module.
 
file  test_sbc.c
 Tests for the sbc module.
 
file  test_spi.c
 Tests for the spi module.
 
file  test_sps.c
 Tests for the SPS driver.
 
file  test_tsi_limits.c
 Test of the tsi_limits.c module.
 
file  test_epcos_b57251v5103j060_lookup-table.c
 Test of fake temperature sensor.
 
file  test_epcos_b57251v5103j060_polynomial.c
 Test of fake temperature sensor.
 
file  test_epcos_b57251v5103j060.c
 Tests for the epcos_b57251v5103j060 module.
 
file  test_epcos_b57861s0103f045_lookup-table.c
 Test of fake temperature sensor.
 
file  test_epcos_b57861s0103f045_polynomial.c
 Test of fake temperature sensor.
 
file  test_epcos_b57861s0103f045.c
 Tests for the epcos_b57861s0103f045 module.
 
file  test_fake_none_lookup-table.c
 Test of fake temperature sensor.
 
file  test_fake_none_polynomial.c
 Test of fake temperature sensor.
 
file  test_fake_none.c
 Test of fake temperature sensor.
 
file  test_murata_ncxxxxh103_lookup-table.c
 Test of fake temperature sensor.
 
file  test_murata_ncxxxxh103_polynomial.c
 Test of fake temperature sensor.
 
file  test_murata_ncxxxxh103.c
 Tests for the epcos_b57861s0103f045 module.
 
file  test_beta.c
 Test of the beta.c module.
 
file  test_vishay_ntcalug01a103g_lookup-table.c
 Test of fake temperature sensor.
 
file  test_vishay_ntcalug01a103g_polynomial.c
 Test of fake temperature sensor.
 
file  test_vishay_ntcalug01a103g.c
 Tests for the vishay_ntcalug01a103g module.
 
file  test_vishay_ntcle317e4103sba_lookup-table.c
 Test of vishay_ntcle317e4103sba temperature sensor.
 
file  test_vishay_ntcle317e4103sba.c
 Tests for the vishay_ntcle317e4103sba module.
 
file  test_vishay_ntcle413e2103f102l_lookup-table.c
 Test of vishay_ntcle413e2103f102l temperature sensor.
 
file  test_vishay_ntcle413e2103f102l.c
 Tests for the vishay_ntcle413e2103f102l module.
 
file  test_database_cfg.c
 Tests for the database_cfg.
 
file  test_diag_cfg.c
 Tests for the diag_cfg driver.
 
file  test_sys_cfg.c
 Tests for the sys_cfg.
 
file  test_sys_mon_cfg.c
 Tests for the sys_mon_cfg.
 
file  test_database.c
 Tests for the database driver.
 
file  test_database_helper.c
 Tests for the database helper functions.
 
file  test_diag_cbs_aerosol-sensor.c
 Test of the current sensor diag handler implementation.
 
file  test_diag_cbs_afe.c
 Test of the AFE diag handler implementation.
 
file  test_diag_cbs_bms.c
 Test of the BMS diag handler implementation.
 
file  test_diag_cbs_can.c
 Test of the CAN diag handler implementation.
 
file  test_diag_cbs_contactor.c
 Test of the contactor diag handler implementation.
 
file  test_diag_cbs_current-sensor.c
 Test of the current sensor diag handler implementation.
 
file  test_diag_cbs_current.c
 Test of the current diag handler implementation.
 
file  test_diag_cbs_deep-discharge.c
 Test of the deep discharge handler implementation.
 
file  test_diag_cbs_dummy.c
 Test of the dummy diag handler implementation.
 
file  test_diag_cbs_fram.c
 Test of the FRAM diag handler implementation.
 
file  test_diag_cbs_i2c.c
 Test of the I2C diag handler implementation.
 
file  test_diag_cbs_insulation.c
 Test of the Insulation diagnosis handler implementation.
 
file  test_diag_cbs_interlock.c
 Test of the Interlock diag handler implementation.
 
file  test_diag_cbs_plausibility.c
 Test of the plausibility diag handler implementation.
 
file  test_diag_cbs_power-measurement.c
 Test of the power measurement diag handler implementation.
 
file  test_diag_cbs_rtc.c
 Test of the RTC diag handler implementation.
 
file  test_diag_cbs_sbc.c
 Test of the SBC diag handler implementation.
 
file  test_diag_cbs_sys-mon.c
 Test of the system monitoring diag handler implementation.
 
file  test_diag_cbs_temperature.c
 Test of the temperature measurement diag handler implementation.
 
file  test_diag_cbs_voltage.c
 Test of the voltage measurement diag handler implementation.
 
file  test_diag.c
 Tests for the diag module.
 
file  test_master_info.c
 Tests for the master module.
 
file  test_reset.c
 Tests for the sys module.
 
file  test_sys.c
 Tests for the sys module.
 
file  test_sys_mon.c
 Tests for the sys_mon module.
 
file  test_fassert.c
 Tests for the CAN driver.
 
file  test_fstartup.c
 Tests for the CAN driver.
 
file  test_main.c
 Tests for the CAN driver.
 
file  test_ftask_cfg.c
 Tests for the ftask_cfg driver.
 
file  test_ftask_freertos.c
 Test of the ftask implementation for FreeRTOS.
 
file  test_ftask.c
 Test of the ftask module.
 
file  test_os_freertos.c
 Test of the OS implementation for FreeRTOS.
 
file  test_os.c
 Test of the os.c module.
 
file  doxygen_tests.h
 Mainpage doxygen documentation.
 
file  test_lg_inr18650mj1.c
 Test for the configuration for LG INR18650 cells.
 
file  test_algorithm_stubs.h
 Stubs for testing the algorithm module.
 
file  test_assert_helper.h
 Helper for unit tests.
 
file  test_can_mpu_prototype_queue_create_stub.h
 Stubs of mpu_prototypes.h for the test_can.c test.
 
file  test_ignore_list.h
 Warnings that need to be ignored in the unit test build.
 
file  test_pec_helper.h
 helper module for testing the validity of the PEC in LTC commands
 

Detailed Description