56 #include "MockHL_gio.h"
57 #include "Mockdatabase.h"
59 #include "Mockfassert.h"
79 .ErrRequestCounter = 0,
97 OS_EnterTaskCritical_Expect();
98 OS_ExitTaskCritical_Expect();
104 OS_EnterTaskCritical_Expect();
105 OS_ExitTaskCritical_Expect();
111 OS_EnterTaskCritical_Expect();
112 OS_ExitTaskCritical_Expect();
118 OS_EnterTaskCritical_Expect();
119 OS_ExitTaskCritical_Expect();
125 OS_EnterTaskCritical_Expect();
126 OS_ExitTaskCritical_Expect();
133 OS_EnterTaskCritical_Expect();
134 OS_ExitTaskCritical_Expect();
140 OS_EnterTaskCritical_Expect();
141 OS_ExitTaskCritical_Expect();
143 OS_EnterTaskCritical_Expect();
144 OS_ExitTaskCritical_Expect();
150 OS_EnterTaskCritical_Expect();
151 OS_ExitTaskCritical_Expect();
155 OS_EnterTaskCritical_Expect();
156 OS_ExitTaskCritical_Expect();
159 OS_EnterTaskCritical_Expect();
160 OS_ExitTaskCritical_Expect();
170 OS_EnterTaskCritical_Expect();
171 OS_ExitTaskCritical_Expect();
177 OS_EnterTaskCritical_Expect();
178 OS_ExitTaskCritical_Expect();
181 OS_EnterTaskCritical_Expect();
182 OS_ExitTaskCritical_Expect();
193 OS_EnterTaskCritical_Ignore();
194 OS_ExitTaskCritical_Ignore();
196 gioGetBit_IgnoreAndReturn(0u);
197 DATA_Write_1_DataBlock_IgnoreAndReturn(
STD_OK);
198 DIAG_CheckEvent_IgnoreAndReturn(
STD_OK);
202 for (uint8_t i = 0u; i < 10; i++) {
209 for (uint8_t i = 0u; i < 10; i++) {
216 for (uint8_t i = 0u; i < 10; i++) {
223 for (uint8_t i = 0u; i < 10; i++) {
234 OS_EnterTaskCritical_Expect();
235 OS_ExitTaskCritical_Expect();
239 OS_EnterTaskCritical_Expect();
240 OS_ExitTaskCritical_Expect();
243 OS_EnterTaskCritical_Expect();
244 OS_ExitTaskCritical_Expect();
255 OS_EnterTaskCritical_Ignore();
256 OS_ExitTaskCritical_Ignore();
267 OS_EnterTaskCritical_Ignore();
268 OS_ExitTaskCritical_Ignore();
278 OS_EnterTaskCritical_Ignore();
279 OS_ExitTaskCritical_Ignore();
281 gioGetBit_IgnoreAndReturn(0u);
282 DATA_Write_1_DataBlock_IgnoreAndReturn(
STD_OK);
283 DIAG_CheckEvent_IgnoreAndReturn(
STD_OK);
294 .ErrRequestCounter = 0,
303 for (uint8_t i = 0u; i < 10; i++) {
311 for (uint8_t i = 0u; i < 10; i++) {
322 OS_EnterTaskCritical_Ignore();
323 OS_ExitTaskCritical_Ignore();
325 gioGetBit_IgnoreAndReturn(0u);
326 DATA_Write_1_DataBlock_IgnoreAndReturn(
STD_OK);
327 DIAG_CheckEvent_IgnoreAndReturn(
STD_OK);
338 .ErrRequestCounter = 0,
347 for (uint8_t i = 0u; i < 10; i++) {
355 for (uint8_t i = 0u; i < 10; i++) {
366 OS_EnterTaskCritical_Ignore();
367 OS_ExitTaskCritical_Ignore();
369 gioGetBit_IgnoreAndReturn(0u);
370 DATA_Write_1_DataBlock_IgnoreAndReturn(
STD_OK);
371 DIAG_CheckEvent_IgnoreAndReturn(
STD_OK);
382 .ErrRequestCounter = 0,
391 for (uint8_t i = 0u; i < 10; i++) {
399 for (uint8_t i = 0u; i < 10; i++) {
410 OS_EnterTaskCritical_Ignore();
411 OS_ExitTaskCritical_Ignore();
413 gioGetBit_IgnoreAndReturn(0u);
414 DATA_Write_1_DataBlock_IgnoreAndReturn(
STD_OK);
415 DIAG_CheckEvent_IgnoreAndReturn(
STD_OK);
426 .ErrRequestCounter = 0,
435 for (uint8_t i = 0u; i < 10; i++) {
443 for (uint8_t i = 0u; i < 10; i++) {