foxBMS-UnitTests  1.0.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_counting_cfg.c
 Test for the configuration for SOC.
 
file  test_soc_debug.c
 Tests for SOC module responsible for calculation of state-of-charge.
 
file  test_soc_debug_cfg.c
 Test for the configuration for SOC.
 
file  test_soc_none.c
 Tests for SOC module responsible for calculation of state-of-charge.
 
file  test_soc_none_cfg.c
 Test for the configuration for SOC.
 
file  test_soe_counting.c
 Test for the configuration for SOE.
 
file  test_soe_counting_cfg.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_debug_cfg.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_soe_none_cfg.c
 Tests for SOE module responsible for calculation of state-of-energy.
 
file  test_sof.c
 Tests for SOC module responsible for calculation of current derating.
 
file  test_sof_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_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 SOX module responsible for calculation of current derating and of SOC.
 
file  test_adc.c
 Tests for the ADC driver.
 
file  test_can.c
 Tests for the CAN driver.
 
file  test_checksum.c
 Tests for the checksum module.
 
file  test_can_cfg.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 CAN driver.
 
file  test_interlock_cfg.c
 Tests for the interlock_cfg module.
 
file  test_nxpfs85xx_cfg.c
 Tests for the CAN 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_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_bender_iso165c_cfg.c
 Test of Bender iso165c module.
 
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_interlock.c
 Tests for the interlock module.
 
file  test_io.c
 Tests for the io module.
 
file  test_mcu.c
 Tests for the mcu module.
 
file  test_meas.c
 Tests for the meas module.
 
file  test_mic_plausibility.c
 Tests for the mic_plausibility module.
 
file  test_debug_default_mic.c
 Test of the debug_default_mic.c module.
 
file  test_debug_default_mic_dma.c
 Test of the debug_default_mic_dma.c module.
 
file  test_debug_default_cfg.c
 Test of the debug_default_cfg.c module.
 
file  test_debug_default.c
 Test of the mic.c module.
 
file  test_ltc_6806_cfg.c
 Tests for the CAN driver.
 
file  test_ltc_6806.c
 Test of the ltc.c module.
 
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_mic.c
 Test of the mic.c module.
 
file  test_ltc_mic_dma_cfg.c
 Tests for the CAN driver.
 
file  test_ltc_mic_dma.c
 Test of the ltc_mic_dma.c module in ltc.
 
file  test_mxm_mic.c
 Test of the mic.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_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_mic_dma.c
 Test of the mic_dma.c module in the Maxim driver.
 
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_nxp_mic.c
 Test of the mic.c module.
 
file  test_n775_cfg.c
 Test of the n775_cfg.c module.
 
file  test_nxp_mic_dma_cfg.c
 Tests for the CAN driver.
 
file  test_n775.c
 Test of the n775.c module.
 
file  test_nxp_mic_dma.c
 Test of the mic_dma.c module in nxp.
 
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_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_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_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_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_ltc.c
 Test of the LTC diag handler implementation.
 
file  test_diag_cbs_mic.c
 Test of the MIC 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_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_masterinfo.c
 Tests for the master 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.c
 Test of the ftask module.
 
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_pec_helper.h
 helper module for testing the validity of the PEC in LTC commands
 

Detailed Description