CORDET Framework - C2 Implementation
|
Declaration of the test cases for the Event Reporting Service components. More...
Go to the source code of this file.
Functions | |
CrFwBool_t | CrPsEvtTestCase1 () |
Test the Service 5 EventReporting Service. More... | |
Declaration of the test cases for the Event Reporting Service components.
last modification: 22.01.2018
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/.
Definition in file CrPsEvtTestCases.h.
CrFwBool_t CrPsEvtTestCase1 | ( | ) |
Test the Service 5 EventReporting Service.
The following actions are performed in this test:
initialize all PUS Extension components and Applications
creation of OutFactory, InFactory and OutManager
creation of a 5,1 to 5,4 Outcomponent
check if the Enable Check and Update Action changes the datapool value and has outcome set to success
start a 5,5 Event Enable Command and check that the values in the datapool change accordingly
start a 5,5 Event Enable Command with invalid EventId's and check for the outcome = VER_EID_START_FD
start a 5,6 Event Disable Command and check that the values in the datapool change accordingly
allocating a 5,7 packet and run the start, progress and termination Action
and check if there is a 5,8 generated
allocating a 5,7 packet fill the OutFactory and run the start Action to trigger an outcome = 0
allocating a 5,7 packet with wrong content to trigger an error VER_EID_START_FD
create a 5,8 Outcomponent run the Update Action and check outcome == success
Definition at line 63 of file CrPsEvtTestCases.c.