57 #include "Mockdiag_cfg.h"
62 TEST_FILE(
"diag_cbs_temperature.c")
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
@ DATA_BLOCK_ID_ERROR_STATE
void DIAG_ErrorOvertemperatureDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overtemperature discharge events
void DIAG_ErrorUndertemperatureCharge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undertemperature charge events
void DIAG_ErrorOvertemperatureCharge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overtemperature charge events
void DIAG_ErrorUndertemperatureDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undertemperature discharge events
@ DIAG_ID_TEMP_OVERTEMPERATURE_DISCHARGE_MSL
@ DIAG_ID_TEMP_UNDERTEMPERATURE_CHARGE_MSL
@ DIAG_ID_TEMP_OVERTEMPERATURE_CHARGE_MSL
@ DIAG_ID_TEMP_UNDERTEMPERATURE_DISCHARGE_MSL
#define NULL_PTR
Null pointer.
DATA_BLOCK_HEADER_s header
DATA_BLOCK_HEADER_s header
DATA_BLOCK_HEADER_s header
DATA_BLOCK_HEADER_s header
DATA_BLOCK_ERROR_STATE_s * pTableError
#define TEST_ASSERT_FAIL_ASSERT(_code_under_test)
assert whether assert macro has failed
const DIAG_DATABASE_SHIM_s diag_kpkDatabaseShim
static DATA_BLOCK_RSL_FLAG_s test_tableRslFlags
void testDIAG_ErrorUndertemperatureChargeInvalidInput(void)
void testDIAG_ErrorOvertemperatureChargeInvalidInput(void)
static DATA_BLOCK_MOL_FLAG_s test_tableMolFlags
void testDIAG_ErrorUndertemperatureDischargeInvalidInput(void)
static DATA_BLOCK_ERROR_STATE_s test_tableErrorFlags
static DATA_BLOCK_MSL_FLAG_s test_tableMslFlags
void testDIAG_ErrorOvertemperatureDischargeInvalidInput(void)