CORDET Framework - C2 Implementation
|
Declaration of the test cases for the OutStream Component (see CrFwOutStream.h
).
More...
Go to the source code of this file.
Functions | |
CrFwBool_t | CrFwOutStreamTestCase1 () |
Test the initialization and packet queue (PQ) management of the OutStream. More... | |
CrFwBool_t | CrFwOutStreamTestCase2 () |
Test the OutStream with overridden initialization check and initialization action. More... | |
CrFwBool_t | CrFwOutStreamTestCase3 () |
Test the packet flushing functionality of an OutStream for a packet originating from the host application (as opposed to a re-routed packet). More... | |
CrFwBool_t | CrFwOutStreamTestCase4 () |
Test the registry functionality of an OutStream. More... | |
CrFwBool_t | CrFwOutStreamTestCase5 () |
Test the Shutdown Operation of an OutStream. More... | |
CrFwBool_t | CrFwOutStreamTestCase6 () |
Test the packet flushing functionality of an OutStream for a re-routed packet (as opposed to a packet originating from the host application). More... | |
CrFwBool_t | CrFwOutStreamTestCase7 () |
Test the management of the sequence counters for different groups. More... | |
Declaration of the test cases for the OutStream Component (see CrFwOutStream.h
).
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 CrFwOutStreamTestCases.h.
CrFwBool_t CrFwOutStreamTestCase1 | ( | ) |
Test the initialization and packet queue (PQ) management of the OutStream.
The following actions are performed in this test:
Error Report: crOutStreamPQFull
Application Error: crOutStreamIllId
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->FPS
OutStream SM Transition: IPS->READY
OutStream SM Transition: READY->BUFFERING
OutStream SM Transition: BUFFERING->BUFFERING
OutStream SM Transition: Enqueue Action with PQ Not Full
OutStream SM Transition: Enqueue Action with PQ Full
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Definition at line 42 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase2 | ( | ) |
Test the OutStream with overridden initialization check and initialization action.
The following actions are performed in this test:
After this test has run, the second OutStream component may no longer be usable.
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->INITIALIZED
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Initialization Procedure: Initialization Action Failed
Initialization Procedure: Initialization Check Failed
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Action Failed
Reset Procedure: Configuration Check Successful
Reset Procedure: Configuration Check Failed
Definition at line 188 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase3 | ( | ) |
Test the packet flushing functionality of an OutStream for a packet originating from the host application (as opposed to a re-routed packet).
The following actions are performed in this test:
crOutStreamNoMorePckt
is raised.crOutStreamNoMorePckt
is raised.Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->CONFIGURED
OutStream SM Transition: IPS->READY
OutStream SM Transition: READY->BUFFERING
OutStream SM Transition: BUFFERING->READY
OutStream SM Transition: Enqueue Action with No More Packets Available
OutStream SM Transition: Enqueue Action with PQ Not Full
OutStream SM Transition: Flush Packet Queue Action with Middleware Accepting Packet
OutStream SM Transition: Flush Packet Queue Action with Middleware Rejecting Packet
OutStream SM Transition: Flush Packet Queue Action with Packet Originating in Application
OutStream SM Transition: Flush Packet Queue Action with Legal Packet Group
OutStream SM Transition: Send or Enqueue Action with No More Packets Available
OutStream SM Transition: Send or Enqueue Action with Middleware Accepting Packet
OutStream SM Transition: Send or Enqueue Action with Middleware Rejecting Packet
OutStream SM Transition: Send or Enqueue Action with Packet Originating in Application
OutStream SM Transition: Send or Enqueue Action with Legal Packet Group
OutStream SM Transition: Flush Packet Queue Action with Illegal Group Report
OutStream SM Transition: Send or Enqueue Action with Illegal Group Report
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Application Error: crOutStreamUndefDest
Definition at line 263 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase4 | ( | ) |
Test the registry functionality of an OutStream.
The following actions are performed in this test:
Definition at line 466 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase5 | ( | ) |
Test the Shutdown Operation of an OutStream.
The following actions are performed in this test:
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->FPS
Definition at line 499 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase6 | ( | ) |
Test the packet flushing functionality of an OutStream for a re-routed packet (as opposed to a packet originating from the host application).
The following actions are performed in this test:
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->CONFIGURED
OutStream SM Transition: IPS->READY
OutStream SM Transition: READY->BUFFERING
OutStream SM Transition: BUFFERING->READY
OutStream SM Transition: Enqueue Action with PQ Not Full
OutStream SM Transition: Flush Packet Queue Action with Middleware Accepting Packet
OutStream SM Transition: Flush Packet Queue Action with Middleware Rejecting Packet
OutStream SM Transition: Flush Packet Queue Action with Packet not Originating in Application
OutStream SM Transition: Send or Enqueue Action with Packet not Originating in Application
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Definition at line 535 of file CrFwOutStreamTestCases.c.
CrFwBool_t CrFwOutStreamTestCase7 | ( | ) |
Test the management of the sequence counters for different groups.
The following actions are performed in this test:
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Base SM Transition: CONFIGURED->CONFIGURED
OutStream SM Transition: IPS->READY
OutStream SM Transition: READY->BUFFERING
OutStream SM Transition: BUFFERING->READY
OutStream SM Transition: Flush Packet Queue Action with Illegal Group Report
OutStream SM Transition: Send or Enqueue Action with Illegal Group Report
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Error Report: crOutStreamIllGroup
Definition at line 681 of file CrFwOutStreamTestCases.c.