40 #include "CrPsPcktGetSetTestCases.h" 67 printf(
"Consistency check of OutRegistry parameters failed\n");
69 printf(
"Consistency check of OutFactory parameters failed\n");
71 printf(
"Consistency check of InCommand parameters in InFactory failed\n");
73 printf(
"Consistency check of InRepot parameters in InFactory failed\n");
76 printf(
"Consistency check of configuration parameters ran successfully...\n");
82 testNames[
i] =
"Pusext_PacketGetterSetter_TestCase1";
83 testCases[
i] = &CrPsPcktGetSetTestCase1;
85 testNames[
i] =
"Pusext_PacketGetterSetter_TestCase2";
86 testCases[
i] = &CrPsPcktGetSetTestCase2;
88 testNames[
i] =
"Pusext_PacketGetterSetter_TestCase3";
89 testCases[
i] = &CrPsPcktGetSetTestCase3;
91 testNames[
i] =
"Pusext_PacketGetterSetter_TestCase4";
92 testCases[
i] = &CrPsPcktGetSetTestCase4;
96 testNames[
i] =
"Pusext_ServVeri_TestCase1";
100 testNames[
i] =
"Pusext_ServTestConn_TestCase1";
103 testNames[
i] =
"Pusext_ServTestConn_TestCase2";
106 testNames[
i] =
"Pusext_ServTestConn_TestCase3";
111 testNames[
i] =
"Pusext_DataPool_TestCase1";
114 testNames[
i] =
"Pusext_DataPool_TestCase2";
117 testNames[
i] =
"Pusext_DataPool_TestCase3";
120 testNames[
i] =
"Pusext_DataPool_TestCase4";
123 testNames[
i] =
"Pusext_DataPool_TestCase5";
126 testNames[
i] =
"Pusext_DataPool_TestCase6";
131 testNames[
i] =
"Pusext_Housekeeping_TestCase1";
134 testNames[
i] =
"Pusext_Housekeeping_TestCase2";
137 testNames[
i] =
"Pusext_Housekeeping_TestCase3";
140 testNames[
i] =
"Pusext_Housekeeping_TestCase4";
145 testNames[
i] =
"Pusext_EventReporting_TestCase1";
150 testNames[
i] =
"Pusext_LargePacketTransfer_TestCase1";
153 testNames[
i] =
"Pusext_LargePacketTransfer_TestCase2";
156 testNames[
i] =
"Pusext_LargePacketTransfer_TestCase3";
159 testNames[
i] =
"Pusext_LargePacketTransfer_TestCase4";
165 testOutcome = testCases[
i]();
166 if (testOutcome == 1)
168 printf(
"Test case %s ran successfully ...\n", testNames[i]);
172 printf(
"Test case %s failed!\n", testNames[i]);
CrFwBool_t CrPsHkTestCase2()
Test the Service 3 Housekeeping Service Test all the 3,3 3,4 3,5 3,6 3,7 and 3,8 actions and procedur...
CrFwCounterU4_t i
CrPsCmd5EidStart function definitions.
CrFwBool_t CrPsServTestConnTestCase2()
Test the Service 17 On-Board Connection Test.
int main()
Main program for the test suite.
Declaration of the test cases for the Large Packet Transfer Service components.
InFactory configuration parameters for InCommands are inconsistent (see CrFwAuxInFactoryInCmdConfigCh...
Implementation of the test cases for the Housekeepint Service components.
Auxiliary module to check the static part of an application's configuration.
CrFwBool_t CrPsEvtTestCase1()
Test the Service 5 EventReporting Service.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwBool_t CrPsLptTestCase3()
Test the Service 13 EventReporting Service Down-Transfer.
CrFwBool_t CrPsDataPoolTestCase5()
Test the Service 5 Event reporting.
CrFwConfigCheckOutcome_t CrFwAuxConfigCheck()
Check the configuration of an application.
CrFwBool_t CrPsDataPoolTestCase3()
Test the Service 1 Request Verificationl.
CrFwBool_t CrPsServTestConnTestCase1()
Test the Service 17 Are-You-Alive Test Connection.
CrFwConfigCheckOutcome_t
Type for the outcome of the consistency check on the configuration parameters.
Declaration of the test cases for the Request Verification Service Components.
Declaration of the test cases for the Test Service Components.
CrFwBool_t CrPsServVeriTestCase1()
Test the Service 1 Request Verification.
OutFactory configuration parameters are inconsistent (see CrFwAuxOutFactoryConfigCheck.h)
All configuration consistency checks have been passed.
CrFwBool_t CrPsHkTestCase4()
Test the Service 3 Housekeeping service Test all the 3,10 3,12 3,25 and 3,26 actions and procedures...
#define NOF_TESTS
The number of tests in the test suite.
CrFwBool_t CrPsDataPoolTestCase1()
Test the generic Datapool Getter an Setter.
InFactory configuration parameters for InReports are inconsistent (see CrFwAuxInFactoryInRepConfigChe...
CrFwBool_t CrPsServTestConnTestCase3()
Test the Service 17 exceptional cases.
CrFwBool_t CrPsHkTestCase1()
Test the Service 3 Housekeeping Service Part 1 Test all the 3,1 and 3,2 actions and procedures...
CrFwBool_t CrPsDataPoolTestCase6()
Test the Service 13 Large Packet Transfer.
CrFwBool_t CrPsLptTestCase2()
Test the Service 13 EventReporting Service Up-Transfer.
CrFwBool_t CrPsHkTestCase3()
Test the Service 3 Housekeeping service Test all the 3,9 3,11 3,27 and 3,28 actions and procedures...
CrFwBool_t CrPsDataPoolTestCase2()
Test the Service 17 Are-You-Alive Test Connection.
Declaration of the test cases for the Datapool Component.
CrFwBool_t CrPsDataPoolTestCase4()
Test the Service 3 Housekeeping.
Declaration of the test cases for the Event Reporting Service components.
CrFwBool_t CrPsLptTestCase1()
Check Service 13 (all standard functions to return outcome = 1)
OutRegistry configuration parameters are inconsistent (see CrFwAuxOutRegistryConfigCheck.h)
CrFwBool_t CrPsLptTestCase4()
Test the Service 13 EventReporting Service other stuff.