CORDET Framework - C2 Implementation
|
Declaration of the test cases for the InFactory Component (see CrFwInFactory.h
).
More...
Go to the source code of this file.
Functions | |
CrFwBool_t | CrFwInFactoryTestCase1 () |
Test the creation and configuration of the InFactory singleton component. More... | |
CrFwBool_t | CrFwInFactoryTestCase2 () |
Test the InCommand creation service in non-nominal situations where the creation fails. More... | |
CrFwBool_t | CrFwInFactoryTestCase3 () |
Test the InCommand part of the Reset and Shutdown functions of the InFactory component. More... | |
CrFwBool_t | CrFwInFactoryTestCase4 () |
Test the InCommand part of the Release function of the InFactory component. More... | |
CrFwBool_t | CrFwInFactoryTestCase5 () |
Test the InReport creation service in non-nominal situations where the creation fails. More... | |
CrFwBool_t | CrFwInFactoryTestCase6 () |
Test the InReport part of the Reset and Shutdown functions of the InFactory component. More... | |
CrFwBool_t | CrFwInFactoryTestCase7 () |
Test the InReport part of the Release function of the InFactory component. More... | |
Declaration of the test cases for the InFactory Component (see CrFwInFactory.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 CrFwInFactoryTestCases.h.
CrFwBool_t CrFwInFactoryTestCase1 | ( | ) |
Test the creation and configuration of the InFactory singleton component.
The following actions are performed in this test:
Base SM Transition: IPS->CREATED
Base SM Transition: CREATED->INITIALIZED
Base SM Transition: INITIALIZED->CONFIGURED
Initialization Procedure: Initialization Action Successful
Initialization Procedure: Initialization Check Successful
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Definition at line 44 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase2 | ( | ) |
Test the InCommand creation service in non-nominal situations where the creation fails.
The following actions are performed in this test:
CrFwInFactoryUserPar.h
).CrFwInFactoryUserPar.h
).CrFwInFactoryUserPar.h
).CR_FW_INFACTORY_MAX_NOF_INCMD
InCommands and then attempt to create one more InCommand (this should fail because at most CR_FW_INFACTORY_MAX_NOF_INCMD
InCommands can be created.Application Error: crIllInCmdKind
Application Error: crInCmdAllocationFail
Definition at line 93 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase3 | ( | ) |
Test the InCommand part of the Reset and Shutdown functions of the InFactory component.
The following actions are performed in this test:
Base SM Transition: CONFIGURED->FPS
Base SM Transition: CONFIGURED->CONFIGURED
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Definition at line 188 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase4 | ( | ) |
Test the InCommand part of the Release function of the InFactory component.
The following actions are performed in this test:
Definition at line 285 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase5 | ( | ) |
Test the InReport creation service in non-nominal situations where the creation fails.
The following actions are performed in this test:
CrFwInFactoryUserPar.h
).CrFwInFactoryUserPar.h
).CrFwInFactoryUserPar.h
).CR_FW_INFACTORY_MAX_NOF_INREP
InReports and then attempt to create one more InReport (this should fail because at most CR_FW_INFACTORY_MAX_NOF_INREP
InReports can be created.Application Error: crIllInRepKind
Application Error: crInRepAllocationFail
Definition at line 356 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase6 | ( | ) |
Test the InReport part of the Reset and Shutdown functions of the InFactory component.
The following actions are performed in this test:
Base SM Transition: CONFIGURED->FPS
Base SM Transition: CONFIGURED->CONFIGURED
Reset Procedure: Configuration Action Successful
Reset Procedure: Configuration Check Successful
Definition at line 451 of file CrFwInFactoryTestCases.c.
CrFwBool_t CrFwInFactoryTestCase7 | ( | ) |
Test the InReport part of the Release function of the InFactory component.
The following actions are performed in this test:
Definition at line 547 of file CrFwInFactoryTestCases.c.