@@ -118,7 +118,7 @@ void test_xDNSDoCallback_success_not_equal_identifier( void )
118118 listGET_LIST_ITEM_OWNER_IgnoreAndReturn ( ( DNSCallback_t * ) 1234 );
119119 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 ); /* xEnd */
120120 vTaskSuspendAll_Expect ();
121- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
121+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
122122
123123 listGET_LIST_ITEM_VALUE_ExpectAnyArgsAndReturn ( 12345 );
124124 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
@@ -149,7 +149,7 @@ void test_xDNSDoCallback_success_equal_identifier( void )
149149 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
150150
151151 vTaskSuspendAll_Expect ();
152- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
152+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
153153
154154 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
155155 listGET_LIST_ITEM_VALUE_ExpectAnyArgsAndReturn ( 123 );
@@ -183,7 +183,7 @@ void test_xDNSDoCallback_success_equal_identifier_set_timer( void )
183183 /* Expectations */
184184 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
185185 vTaskSuspendAll_Expect ();
186- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
186+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
187187
188188 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
189189 listGET_LIST_ITEM_VALUE_ExpectAnyArgsAndReturn ( 123 );
@@ -224,7 +224,7 @@ void test_xDNSDoCallback_success_equal_port_number_equal_name( void )
224224 /* Expectations */
225225 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
226226 vTaskSuspendAll_Expect ();
227- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
227+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
228228
229229 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( pxDnsCallback );
230230 uxListRemove_ExpectAnyArgsAndReturn ( pdTRUE );
@@ -264,7 +264,7 @@ void test_xDNSDoCallback_fail_equal_port_number_not_equal_name( void )
264264 /* Expectations */
265265 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
266266 vTaskSuspendAll_Expect ();
267- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
267+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
268268
269269 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
270270 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 4 );
@@ -367,7 +367,7 @@ void test_vDNSCheckCallback_success_search_id_not_null( void )
367367 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
368368 vListInitialise_ExpectAnyArgs ();
369369 vTaskSuspendAll_Expect ();
370- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
370+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
371371 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
372372 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
373373 uxListRemove_ExpectAnyArgsAndReturn ( pdFALSE );
@@ -395,7 +395,7 @@ void test_vDNSCheckCallback_success_search_id_not_null_list_empty( void )
395395 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
396396 vListInitialise_ExpectAnyArgs ();
397397 vTaskSuspendAll_Expect ();
398- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
398+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
399399 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
400400 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
401401 uxListRemove_ExpectAnyArgsAndReturn ( pdFALSE );
@@ -422,7 +422,7 @@ void test_vDNSCheckCallback_success_search_id_null( void )
422422 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
423423 vListInitialise_ExpectAnyArgs ();
424424 vTaskSuspendAll_Expect ();
425- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
425+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
426426 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
427427 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
428428
@@ -454,7 +454,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout( void )
454454 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
455455 vListInitialise_ExpectAnyArgs ();
456456 vTaskSuspendAll_Expect ();
457- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
457+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
458458 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
459459 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
460460
@@ -466,7 +466,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout( void )
466466 listLIST_IS_EMPTY_ExpectAnyArgsAndReturn ( pdFALSE );
467467
468468 listGET_END_MARKER_ExpectAnyArgsAndReturn ( NULL );
469- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
469+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
470470 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
471471 listGET_NEXT_ExpectAnyArgsAndReturn ( NULL ); /* end marker */
472472 uxListRemove_ExpectAnyArgsAndReturn ( pdTRUE );
@@ -498,7 +498,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout_IPv6( void )
498498 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
499499 vListInitialise_ExpectAnyArgs ();
500500 vTaskSuspendAll_Expect ();
501- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
501+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
502502 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
503503 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
504504
@@ -510,7 +510,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout_IPv6( void )
510510 listLIST_IS_EMPTY_ExpectAnyArgsAndReturn ( pdFALSE );
511511
512512 listGET_END_MARKER_ExpectAnyArgsAndReturn ( NULL );
513- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
513+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
514514 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
515515 listGET_NEXT_ExpectAnyArgsAndReturn ( NULL ); /* end marker */
516516 uxListRemove_ExpectAnyArgsAndReturn ( pdTRUE );
@@ -542,7 +542,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout2( void )
542542 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
543543 vListInitialise_ExpectAnyArgs ();
544544 vTaskSuspendAll_Expect ();
545- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
545+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
546546 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
547547 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
548548
@@ -554,7 +554,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout2( void )
554554 listLIST_IS_EMPTY_ExpectAnyArgsAndReturn ( pdFALSE );
555555
556556 listGET_END_MARKER_ExpectAnyArgsAndReturn ( NULL );
557- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
557+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
558558 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
559559 listGET_NEXT_ExpectAnyArgsAndReturn ( NULL ); /* end marker */
560560 uxListRemove_ExpectAnyArgsAndReturn ( pdTRUE );
@@ -586,7 +586,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout2_IPv6( void )
586586 listGET_END_MARKER_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 );
587587 vListInitialise_ExpectAnyArgs ();
588588 vTaskSuspendAll_Expect ();
589- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
589+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
590590 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
591591 listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 8 ); /* end marker */
592592
@@ -598,7 +598,7 @@ void test_vDNSCheckCallback_success_search_id_null_timeout2_IPv6( void )
598598 listLIST_IS_EMPTY_ExpectAnyArgsAndReturn ( pdFALSE );
599599
600600 listGET_END_MARKER_ExpectAnyArgsAndReturn ( NULL );
601- listGET_NEXT_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
601+ listGET_HEAD_ENTRY_ExpectAnyArgsAndReturn ( ( ListItem_t * ) 16 );
602602 listGET_LIST_ITEM_OWNER_ExpectAnyArgsAndReturn ( dnsCallback );
603603 listGET_NEXT_ExpectAnyArgsAndReturn ( NULL ); /* end marker */
604604 uxListRemove_ExpectAnyArgsAndReturn ( pdTRUE );
0 commit comments