57 #include "Mockdiag_cfg.h"
66 TEST_SOURCE_FILE(
"diag_cbs_insulation.c")
68 TEST_INCLUDE_PATH("../../src/app/engine/
diag/cbs")
@ DATA_BLOCK_ID_ERROR_STATE
static DIAG_DIAGNOSIS_STATE_s diag
void DIAG_Insulation(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for the insulation measurement
@ DIAG_ID_LOW_INSULATION_RESISTANCE_ERROR
#define NULL_PTR
Null pointer.
DATA_BLOCK_HEADER_s header
bool criticalLowInsulationResistanceError
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
void testDIAG_ErrorInsulationInvalidInput(void)
static DATA_BLOCK_RSL_FLAG_s test_tableRslFlags
static DATA_BLOCK_MOL_FLAG_s test_tableMolFlags
static DATA_BLOCK_ERROR_STATE_s test_tableErrorFlags
void testDiagInsulation(void)
static DATA_BLOCK_MSL_FLAG_s test_tableMslFlags