@@ -397,7 +397,7 @@ void test_prvAllowIPPacketIPv4_NotMatchingIP( void )
397397 pxIPHeader -> ucVersionHeaderLength = 0x45 ;
398398 pxIPHeader -> ulDestinationIPAddress = pxEndpoint -> ipv4_settings .ulIPAddress + 1 ;
399399
400- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
400+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
401401
402402 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
403403
@@ -435,7 +435,7 @@ void test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPMatch( void )
435435
436436 pxIPHeader -> ulSourceIPAddress = 0xFFFFFFFF ;
437437
438- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
438+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
439439
440440 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
441441
@@ -474,7 +474,7 @@ void test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPBrdCast( void )
474474
475475 pxIPHeader -> ulSourceIPAddress = 0xFFFFFFFF ;
476476
477- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
477+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
478478
479479 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
480480
@@ -513,7 +513,7 @@ void test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPLLMNR( void )
513513
514514 pxIPHeader -> ulSourceIPAddress = 0xFFFFFFFF ;
515515
516- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
516+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
517517
518518 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
519519
@@ -548,7 +548,7 @@ void test_prvAllowIPPacketIPv4_SourceIPBrdCast_NoLocalIP( void )
548548 pxIPHeader -> ulDestinationIPAddress = 0 ;
549549
550550 pxIPHeader -> ulSourceIPAddress = 0xFFFFFFFF ;
551- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
551+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
552552
553553 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
554554
@@ -585,7 +585,7 @@ void test_prvAllowIPPacketIPv4_DestMACBrdCast_DestIPUnicast( void )
585585
586586 memcpy ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , xBroadcastMACAddress .ucBytes , sizeof ( MACAddress_t ) );
587587
588- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
588+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
589589
590590 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
591591
@@ -622,7 +622,7 @@ void test_prvAllowIPPacketIPv4_EndpointDown_HappyPath( void )
622622
623623 memcpy ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , xEndpoint .xMACAddress .ucBytes , sizeof ( MACAddress_t ) );
624624
625- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdFALSE );
625+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdFALSE );
626626 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
627627
628628 usGenerateChecksum_ExpectAndReturn ( 0U , ( uint8_t * ) & ( pxIPHeader -> ucVersionHeaderLength ), ( size_t ) uxHeaderLength , ipCORRECT_CRC );
@@ -665,7 +665,7 @@ void test_prvAllowIPPacketIPv4_EndpointDown_UnHappyPath( void )
665665 memset ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , 0xAB , sizeof ( MACAddress_t ) );
666666 memset ( xEndpoint .xMACAddress .ucBytes , 0xCD , sizeof ( MACAddress_t ) );
667667
668- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdFALSE );
668+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdFALSE );
669669
670670 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
671671
@@ -702,7 +702,7 @@ void test_prvAllowIPPacketIPv4_DestMACBrdCast_DestIPBroadcastAndIncorrectChkSum(
702702 xEndpoint .ipv4_settings .ulBroadcastAddress = 0xABCDFFFF ;
703703
704704 memcpy ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , xBroadcastMACAddress .ucBytes , sizeof ( MACAddress_t ) );
705- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
705+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
706706
707707 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
708708
@@ -859,7 +859,7 @@ void test_prvAllowIPPacketIPv4_IncorrectChecksum( void )
859859
860860 pxIPHeader -> ulSourceIPAddress = 0xC0C00101 ;
861861
862- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
862+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
863863 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
864864
865865 usGenerateChecksum_ExpectAndReturn ( 0U , ( uint8_t * ) & ( pxIPHeader -> ucVersionHeaderLength ), ( size_t ) uxHeaderLength , ipCORRECT_CRC - 1 );
@@ -903,7 +903,7 @@ void test_prvAllowIPPacketIPv4_IncorrectProtocolChecksum( void )
903903
904904 pxIPHeader -> ulSourceIPAddress = 0xC0C00101 ;
905905
906- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
906+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
907907 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
908908
909909 usGenerateChecksum_ExpectAndReturn ( 0U , ( uint8_t * ) & ( pxIPHeader -> ucVersionHeaderLength ), ( size_t ) uxHeaderLength , ipCORRECT_CRC );
@@ -948,7 +948,7 @@ void test_prvAllowIPPacketIPv4_HappyPath( void )
948948
949949 pxIPHeader -> ulSourceIPAddress = 0xC0C00101 ;
950950
951- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
951+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
952952 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
953953
954954 usGenerateChecksum_ExpectAndReturn ( 0U , ( uint8_t * ) & ( pxIPHeader -> ucVersionHeaderLength ), ( size_t ) uxHeaderLength , ipCORRECT_CRC );
@@ -1031,7 +1031,7 @@ void test_prvAllowIPPacketIPv4_DestMacBroadcastIPNotBroadcast( void )
10311031 memcpy ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , xBroadcastMACAddress .ucBytes , sizeof ( MACAddress_t ) );
10321032
10331033 pxIPHeader -> ulSourceIPAddress = 0xC0C00101 ;
1034- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
1034+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
10351035
10361036 eResult = prvAllowIPPacketIPv4 ( pxIPPacket , pxNetworkBuffer , uxHeaderLength );
10371037
@@ -1199,7 +1199,7 @@ void test_xBadIPv4Loopback_0_test( void )
11991199
12001200 memcpy ( pxIPPacket -> xEthernetHeader .xDestinationAddress .ucBytes , xMACAddress .ucBytes , sizeof ( MACAddress_t ) );
12011201
1202- FreeRTOS_IsEndPointUp_ExpectAndReturn (& xEndpoint , pdTRUE );
1202+ FreeRTOS_IsEndPointUp_ExpectAndReturn ( & xEndpoint , pdTRUE );
12031203
12041204 FreeRTOS_FindEndPointOnMAC_ExpectAnyArgsAndReturn ( NULL );
12051205
0 commit comments