File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -750,34 +750,6 @@ Test cases for UDPSocket class
750
750
751
751
** Description:** Run ` SOCKET_BIND_UNOPENED ` for UDPSocket.
752
752
753
- ### UDPSOCKET_SENDTO_INVALID
754
-
755
- ** Description:**
756
-
757
- Call ` UDPSocket::sendto() ` with invalid parameters.
758
-
759
- ** Preconditions:**
760
-
761
- 1 . Network interface and stack are initialized.
762
- 1 . Network connection is up.
763
- 1 . UDPSocket is open.
764
-
765
- ** Test steps:**
766
-
767
- 1 . Call ` UDPSocket:sendto( NULL, 9, NULL, 0); ` .
768
- 1 . Call ` UDPSocket:sendto( "", 9, NULL, 0); ` .
769
- 1 . Call ` UDPSocket:sendto( "", 0, NULL, 0); ` .
770
- 1 . Call ` UDPSocket:sendto("echo.mbedcloudtesting.com", 9,NULL, 0); ` .
771
- 1 . Call ` UDPSocket:sendto("echo.mbedcloudtesting.com", 9, "hello", 5); ` .
772
- 1 . Destroy the socket.
773
-
774
- ** Expected result:**
775
-
776
- All ` sendto() ` calls return an error code except:
777
-
778
- - Step 4 returns 0.
779
- - Step 5 returns 5.
780
-
781
753
### UDPSOCKET_SENDTO_REPEAT
782
754
783
755
** Description:**
Original file line number Diff line number Diff line change @@ -191,7 +191,6 @@ Case cases[] = {
191
191
Case (" UDPSOCKET_BIND_ADDRESS" , UDPSOCKET_BIND_ADDRESS),
192
192
Case (" UDPSOCKET_BIND_WRONG_TYPE" , UDPSOCKET_BIND_WRONG_TYPE),
193
193
Case (" UDPSOCKET_BIND_UNOPENED" , UDPSOCKET_BIND_UNOPENED),
194
- Case (" UDPSOCKET_SENDTO_INVALID" , UDPSOCKET_SENDTO_INVALID),
195
194
Case (" UDPSOCKET_ECHOTEST_NONBLOCK" , UDPSOCKET_ECHOTEST_NONBLOCK),
196
195
Case (" UDPSOCKET_ECHOTEST_BURST_NONBLOCK" , UDPSOCKET_ECHOTEST_BURST_NONBLOCK),
197
196
Case (" UDPSOCKET_SENDTO_REPEAT" , UDPSOCKET_SENDTO_REPEAT),
You can’t perform that action at this time.
0 commit comments