CORDET Framework - C2 Implementation
|
Implementation of test cases for Socket-Based InStream and OutStream Components. More...
Go to the source code of this file.
Functions | |
CrFwBool_t | CrFwSocketTestCase1 () |
Test the initialization and configuration of the socket-based InStream and OutStream. More... | |
CrFwBool_t | CrFwSocketTestCase2 () |
Test the initialization and configuration of the client and server sockets of CrFwClientSocket.h and CrFwServerSocket.h . More... | |
CrFwBool_t | CrFwSocketTestCase3 () |
Test the sending and receiving of multiple packets through client and server sockets of CrFwClientSocket.h and CrFwServerSocket.h . More... | |
CrFwBool_t | CrFwSocketTestCase4 () |
Test the interleaved sending and receiving of multiple packets through client and server sockets of CrFwClientSocket.h and CrFwServerSocket.h . More... | |
Implementation of test cases for Socket-Based InStream and OutStream Components.
This file is part of the CORDET Framework.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
For information on alternative licensing, please contact P&P Software GmbH.
Definition in file CrFwSocketTestCases.c.
CrFwBool_t CrFwSocketTestCase1 | ( | ) |
Test the initialization and configuration of the socket-based InStream and OutStream.
The following actions are performed in this test:
Definition at line 48 of file CrFwSocketTestCases.c.
CrFwBool_t CrFwSocketTestCase2 | ( | ) |
Test the initialization and configuration of the client and server sockets of CrFwClientSocket.h
and CrFwServerSocket.h
.
The configuration of the client and server sockets is as follows (see CrFwInStreamUserPar.h
and CrFwOutStreamUserPar.h
):
The following actions are performed in this test:
CrFwClientSocket.h
and CrFwServerSocket.h
are created.Definition at line 188 of file CrFwSocketTestCases.c.
CrFwBool_t CrFwSocketTestCase3 | ( | ) |
Test the sending and receiving of multiple packets through client and server sockets of CrFwClientSocket.h
and CrFwServerSocket.h
.
The configuration of the client and server sockets is as follows (see CrFwInStreamUserPar.h
and CrFwOutStreamUserPar.h
):
The following actions are performed in this test:
CrFwClientSocket.h
and CrFwServerSocket.h
are created, initialized and configured.Definition at line 314 of file CrFwSocketTestCases.c.
CrFwBool_t CrFwSocketTestCase4 | ( | ) |
Test the interleaved sending and receiving of multiple packets through client and server sockets of CrFwClientSocket.h
and CrFwServerSocket.h
.
The configuration of the client and server sockets is as follows (see CrFwInStreamUserPar.h
and CrFwOutStreamUserPar.h
):
The following actions are performed in this test:
CrFwClientSocket.h
and CrFwServerSocket.h
are created, initialized and configured.Definition at line 490 of file CrFwSocketTestCases.c.