57 #include "Mockdiag_cfg.h"
58 #include "Mocksys_mon_cfg.h"
63 TEST_FILE(
"diag_cbs_sys-mon.c")
104 const uint8_t numberOfTasks =
sizeof(tasks) /
sizeof(tasks[0]);
105 for (uint8_t i = 0; i < numberOfTasks; i++) {
@ DATA_BLOCK_ID_ERROR_STATE
void DIAG_ErrorSystemMonitoring(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
Callback function for system monitoring related diagnosis events.
@ DIAG_ID_SYSTEM_MONITORING
@ DIAG_ID_CELL_VOLTAGE_OVERVOLTAGE_RSL
#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
@ SYSM_TASK_ID_CYCLIC_10ms
@ SYSM_TASK_ID_CYCLIC_ALGORITHM_100ms
@ SYSM_TASK_ID_CYCLIC_100ms
@ SYSM_TASK_ID_CYCLIC_1ms
#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_ErrorSystemMonitoringInvalidInput1(void)
static DATA_BLOCK_MOL_FLAG_s test_tableMolFlags
void testDIAG_ErrorSystemMonitoringInvalidInput0(void)
static DATA_BLOCK_ERROR_STATE_s test_tableErrorFlags
void testDIAG_ErrorSystemMonitoringInvalidInput2(void)
void testDIAG_ErrorSystemMonitoring(void)
static DATA_BLOCK_MSL_FLAG_s test_tableMslFlags