CORDET Framework - C2 Implementation
|
Implementation of the test cases for the Datapool Component. More...
Go to the source code of this file.
Macros | |
#define | MAX_CHAR 255u |
#define | MAX_SHORT 65535u |
#define | MAX_INT 4294967295u |
#define | MIN_VAL 0u |
Functions | |
uint8_t | testentry (uint32_t id, uint8_t size) |
CrFwBool_t | CrPsDataPoolTestCase1 () |
Test the generic Datapool Getter an Setter. More... | |
CrFwBool_t | CrPsDataPoolTestCase2 () |
Test the Service 17 Are-You-Alive Test Connection. More... | |
CrFwBool_t | CrPsDataPoolTestCase3 () |
Test the Service 1 Request Verificationl. More... | |
CrFwBool_t | CrPsDataPoolTestCase4 () |
Test the Service 3 Housekeeping. More... | |
CrFwBool_t | CrPsDataPoolTestCase5 () |
Test the Service 5 Event reporting. More... | |
CrFwBool_t | CrPsDataPoolTestCase6 () |
Test the Service 13 Large Packet Transfer. More... | |
Implementation of the test cases for the Datapool Component.
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 CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase1 | ( | ) |
Test the generic Datapool Getter an Setter.
The following actions are performed in this test:
that the generic Setter (setDpValue) can set all Datapool entries correctly
that the generic Getter (getDpValue) returns the correct value
that either the generic Getter or Getter returns 0 if one uses a wrong ID
Definition at line 190 of file CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase2 | ( | ) |
Test the Service 17 Are-You-Alive Test Connection.
The following actions are performed in this test:
that the initialization function is used to initially set all Service 17 Datapool entries
that all Getter and Setter functions for Serive 17 Datapool entries are used
that all this Getters and Setters work with the minimum and maximum value of the Datapool entries
Definition at line 248 of file CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase3 | ( | ) |
Test the Service 1 Request Verificationl.
The following actions are performed in this test:
that the initialization function is used to initially set all Service 1 Datapool entries
that all Getter and Setter functions for Serive 1 Datapool entries are used
that all this Getters and Setters work with the minimum and maximum value of the Datapool entries
Definition at line 367 of file CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase4 | ( | ) |
Test the Service 3 Housekeeping.
The following actions are performed in this test:
that the initialization function is used to initially set all Service 3 Datapool entries
that all Getter and Setter functions for Serive 3 Datapool entries are used
that all this Getters and Setters work with the minimum and maximum value of the Datapool entries
Definition at line 566 of file CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase5 | ( | ) |
Test the Service 5 Event reporting.
The following actions are performed in this test:
that the initialization function is used to initially set all Service 5 Datapool entries
that all Getter and Setter functions for Serive 5 Datapool entries are used
that all this Getters and Setters work with the minimum and maximum value of the Datapool entries
Definition at line 847 of file CrPsDataPoolTestCases.c.
CrFwBool_t CrPsDataPoolTestCase6 | ( | ) |
Test the Service 13 Large Packet Transfer.
The following actions are performed in this test:
that the initialization function is used to initially set all Service 13 Datapool entries
that all Getter and Setter functions for Serive 5 Datapool entries are used
that all this Getters and Setters work with the minimum and maximum value of the Datapool entries
Definition at line 1124 of file CrPsDataPoolTestCases.c.