File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
test/unit-test/FreeRTOS_DHCP Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -367,13 +367,13 @@ static int32_t FreeRTOS_recvfrom_ResetAndIncorrectStateWithSocketAlreadyCreated_
367367 return xSizeofUDPBuffer ;
368368}
369369
370- static int32_t FreeRTOS_recvfrom_ResetAndIncorrectStateWithSocketAlreadyCreated_LoopedCall ( const ConstSocket_t xSocket ,
371- void * pvBuffer ,
372- size_t uxBufferLength ,
373- BaseType_t xFlags ,
374- struct freertos_sockaddr * pxSourceAddress ,
375- socklen_t * pxSourceAddressLength ,
376- int callbacks )
370+ static int32_t FreeRTOS_recvfrom_LoopedCall ( const ConstSocket_t xSocket ,
371+ void * pvBuffer ,
372+ size_t uxBufferLength ,
373+ BaseType_t xFlags ,
374+ struct freertos_sockaddr * pxSourceAddress ,
375+ socklen_t * pxSourceAddressLength ,
376+ int callbacks )
377377{
378378 NetworkEndPoint_t * pxIterator = pxNetworkEndPoints ;
379379 size_t xSizeRetBufferSize = xSizeofUDPBuffer ;
Original file line number Diff line number Diff line change @@ -1326,7 +1326,7 @@ void test_vDHCPProcess_eLeasedAddress_InCorrectState_Loop( void )
13261326 pxNetworkEndPoints = pxEndPoint ;
13271327
13281328 /* Expect these arguments. */
1329- FreeRTOS_recvfrom_Stub ( FreeRTOS_recvfrom_ResetAndIncorrectStateWithSocketAlreadyCreated_LoopedCall );
1329+ FreeRTOS_recvfrom_Stub ( FreeRTOS_recvfrom_LoopedCall );
13301330
13311331 FreeRTOS_ReleaseUDPPayloadBuffer_Expect ( pucUDPBuffer );
13321332
@@ -1375,7 +1375,7 @@ void test_vDHCPProcess_eLeasedAddress_InCorrectState_Loop2( void )
13751375 xEndPoint2 .xDHCPData .eExpectedState = eInitialWait ;
13761376
13771377 /* Expect these arguments. */
1378- FreeRTOS_recvfrom_Stub ( FreeRTOS_recvfrom_ResetAndIncorrectStateWithSocketAlreadyCreated_LoopedCall );
1378+ FreeRTOS_recvfrom_Stub ( FreeRTOS_recvfrom_LoopedCall );
13791379
13801380 FreeRTOS_ReleaseUDPPayloadBuffer_Expect ( pucUDPBuffer );
13811381
You can’t perform that action at this time.
0 commit comments