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
750750
751751** Description:** Run ` SOCKET_BIND_UNOPENED ` for UDPSocket.
752752
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-
781753### UDPSOCKET_SENDTO_REPEAT
782754
783755** Description:**
Original file line number Diff line number Diff line change @@ -191,7 +191,6 @@ Case cases[] = {
191191 Case (" UDPSOCKET_BIND_ADDRESS" , UDPSOCKET_BIND_ADDRESS),
192192 Case (" UDPSOCKET_BIND_WRONG_TYPE" , UDPSOCKET_BIND_WRONG_TYPE),
193193 Case (" UDPSOCKET_BIND_UNOPENED" , UDPSOCKET_BIND_UNOPENED),
194- Case (" UDPSOCKET_SENDTO_INVALID" , UDPSOCKET_SENDTO_INVALID),
195194 Case (" UDPSOCKET_ECHOTEST_NONBLOCK" , UDPSOCKET_ECHOTEST_NONBLOCK),
196195 Case (" UDPSOCKET_ECHOTEST_BURST_NONBLOCK" , UDPSOCKET_ECHOTEST_BURST_NONBLOCK),
197196 Case (" UDPSOCKET_SENDTO_REPEAT" , UDPSOCKET_SENDTO_REPEAT),
You can’t perform that action at this time.
0 commit comments