57 #include "Mockdatabase.h"
60 #include "Mockplausibility.h"
76 DATA_Read_4_DataBlocks_ExpectAndReturn(
82 DATA_Read_4_DataBlocks_IgnoreArg_pDataToReceiver0();
83 DATA_Read_4_DataBlocks_IgnoreArg_pDataToReceiver1();
84 DATA_Read_4_DataBlocks_IgnoreArg_pDataToReceiver2();
85 DATA_Read_4_DataBlocks_IgnoreArg_pDataToReceiver3();
108 uint32_t timestamp = 10u;
109 uint32_t previousTimestamp = 0u;
114 previousTimestamp = 10u;
119 previousTimestamp = 60u;
124 previousTimestamp = 0u;
130 uint32_t timeDifference = 100u;
133 uint32_t timestamp = 50u;
134 uint32_t previousTimestamp = 0u;
135 OS_GetTickCount_ExpectAndReturn(100u);
140 OS_GetTickCount_ExpectAndReturn(100u);
145 OS_GetTickCount_ExpectAndReturn(101u);
150 OS_GetTickCount_ExpectAndReturn(5000u);
154 timestamp = UINT32_MAX;
155 OS_GetTickCount_ExpectAndReturn(50u);
159 timestamp = UINT32_MAX - 50u;
160 OS_GetTickCount_ExpectAndReturn(49u);
164 timestamp = UINT32_MAX - 50u;
165 OS_GetTickCount_ExpectAndReturn(50u);
170 OS_GetTickCount_ExpectAndReturn(UINT32_MAX);
220 DATA_DatabaseEntryUpdatedRecently_IgnoreAndReturn(
false);
221 DATA_DatabaseEntryUpdatedAtLeastOnce_IgnoreAndReturn(
false);
224 OS_GetTickCount_IgnoreAndReturn(0);
226 DIAG_Handler_IgnoreAndReturn(
STD_OK);