Constants are defined using the const
construct provided by the C++ language. They are not defined using the #define
construct of the C language. Constants used in the operational classes are defined in a dedicated header file (Constants
).
Definition in file TestConstants.h.
Go to the source code of this file.
Variables | |
const bool | TEST_SUCCESS = true |
Return value of a test case whose execution was successful. | |
const bool | TEST_FAILURE = false |
Return value of a test case whose execution failed. | |
const bool | INITIALIZATION_SUCCESS = true |
Return value of a test case whose set up service succeeded. | |
const bool | INITIALIZATION_FAILURE = false |
Return value of a test case whose set up service failed. | |
const bool | SHUTDOWN_SUCCESS = true |
Return value of a test case whose shut down service succeeded. | |
const bool | SHUTDOWN_FAILURE = false |
Return value of a test case whose shut down service failed. | |
const int | MAX_TEST_CASES_IN_SUITE = 200 |
Max number of test cases that can be loaded in a test suite. | |
const int | EVT_REP_SIZE = 14 |
Event repository size used for the regression tests. | |
const float | EPS_FLOAT = (float)0.00001 |
A small float value used when comparing float values. | |
const double | EPS_DOUBLE = 0.000001 |
A small float value used when comparing double values. | |
const char *const | TEST_FILE_NAME_1 = "class" |
Constant string used in the construction of the name of the documentation file for the test cases. | |
const char *const | TEST_FILE_NAME_2 = "" |
Constant string used in the construction of the name of the documentation file for the test cases. | |
const int | MAX_TEST_FILE_NAME_LENGTH = 100 |
Maximum length of the name of a test case. | |
const char *const | TEST_TRACER_LOG_FILE = "TestTracerLogFile.txt" |
Constant string defining the name of the log file used by the test tracer component. | |
TD_TelemetryType const | TEST_TM_TYPE = 101 |
Telemetry packet type used in the test telemetry packet defined by class DC_DummyPUSTelemetryPacket . | |
TD_TelecommandType const | TEST_TC_TYPE = 91 |
Telecommand packet type used in the test telecommand packet defined by class DC_DummyPUSTelecommand . | |
TD_TelemetrySubType const | TEST_TM_SUBTYPE = 102 |
Telemetry packet subtype used in the test telemetry packet defined by class DC_DummyPUSTelemetryPacket . | |
TD_TelecommandSubType const | TEST_TC_SUBTYPE = 92 |
Telecommand packet subtype used in the test telecommand packet defined by class DC_DummyPUSTelecommand . | |
TD_ObsTime const | TEST_TM_TIMETAG = 103 |
Telemetry packet timetag used in the test telemetry packet defined by class DC_DummyPUSTelemetryPacket . | |
TD_TelemetryDestination const | TEST_TM_DEST = 104 |
Telemetry packet destination used in the test telemetry packet defined by class DC_DummyPUSTelemetryPacket . | |
TD_TelecommandSource const | TEST_TC_SOURCE = 94 |
Telecommand packet source used in the test telecommand packet defined by class DC_DummyPUSTelecommand . | |
TD_TelecommandId const | TEST_TC_ID = 95 |
Telecommand identifier used in the test telecommand packet defined by class DC_DummyPUSTelecommand . | |
TD_TelemetryDestination const | TEST_TM_DEF_DEST = 111 |
Telemetry packet default destination used in the test cases. | |
TD_APID const | TEST_TM_APID = 105 |
APID of the source application of the PUS telemetry packets used in the test cases. | |
TD_APID const | TEST_TC_APID = 106 |
APID of the destination application of the PUS telecommand packets used in the test cases. | |
unsigned int const | PUS_DRP_MAX_FA = 4 |
Maximum number of fixed-length array of the DC_PUSDataReportingPacket items in the telemetry packet factory. | |
unsigned int const | PUS_DRP_DEF_BUF_SIZE_LARGE = 100 |
Large value of the definition buffer size of the DC_PUSDataReportingPacket items in the telemetry packet factory. | |
unsigned int const | PUS_DRP_DEF_BUF_SIZE_SMALL = 50 |
Small value of the definition buffer size of the DC_PUSDataReportingPacket items in the telemetry packet factory. | |
unsigned int const | PUS_DRP_VAL_BUF_SIZE_LARGE = 100 |
Large value of the value buffer size of the DC_PUSDataReportingPacket items in the telemetry packet factory. | |
unsigned int const | PUS_DRP_VAL_BUF_SIZE_SMALL = 50 |
Large value of the value buffer size of the DC_PUSDataReportingPacket items in the telemetry packet factory. | |
unsigned int const | TC_MAN_PEND_TC_LIST_SIZE = 5 |
Size of the pending telecommand list in the telecommand manager. | |
unsigned int const | TM_MAN_IMMEDIATE_QUEUE = 5 |
Size of the immediate disptach queue in the telemetry manager. | |
unsigned int const | TM_MODE_MAN_MAX_N_PACKETS = 5 |
Maximum number of PUS packets that can be loaded in a PUS telemetry mode manager. | |
unsigned int const | MAN_MAN_PENDING_MAN_LIST_SIZE = 5 |
Size of the pending manoeuvre list in the manoeuvre manager. | |
unsigned int const | TC_COMMAND_AREA_MAX_N_TC = 3 |
Maximum number of telecommands for the DC_BasicPUSTcLoader . | |
unsigned int const | TC_COMMAND_AREA_MAX_TC_LEN = 100 |
Maximum length of a telecommand for the DC_BasicPUSTcLoader . | |
unsigned int const | TM_LOGGER_BUFFER_CAPACITY = 10 |
Capacity of the telemetry buffer in the DC_PUSTmLogger . | |
unsigned int const | TM_LOGGER_MAX_TM_LENGTH = 40 |
Maximum length of the application data of a telemetry packet in the telemetry logger stream (class DC_PUSTmLogger ). | |
unsigned int const | PUS_EVT_REP_SIZE = 15 |
Size of the PUS event repository (instance of class DC_PUSEventRepository ). | |
TD_TelecommandSource const | DEF_PUS_TC_SOURCE = 13 |
Default value of telecommand packet source used in PUS tests. | |
TD_PUSNumberMemBlocks const | PUS_NUMBER_MEM_BLOCKS = 3 |
Maximum number of memory blocks that can be handled by memory management telecommands and telemetry packets. | |
TD_PUSMemLength const | PUS_MEM_BUFFER_LENGTH = 50 |
Size of the internal buffer used by the memory management telecommands and telemetry packets. |
|
Default value of telecommand packet source used in PUS tests.
Definition at line 295 of file TestConstants.h. |
|
A small float value used when comparing double values. For instance, when comparing a and b (both double variables), the comparison is really made between abs(a-b) and EPS_DOUBLE. This helps prevent false triggers due to rounding and other numerical precision effects.
Definition at line 92 of file TestConstants.h. |
|
A small float value used when comparing float values. For instance, when comparing a and b (both float variables), the comparison is really made between abs(a-b) and EPS_FLOAT. This helps prevent false triggers due to rounding and other numerical precision effects.
Definition at line 83 of file TestConstants.h. |
|
Event repository size used for the regression tests.
Definition at line 74 of file TestConstants.h. |
|
Return value of a test case whose set up service failed.
Definition at line 50 of file TestConstants.h. |
|
Return value of a test case whose set up service succeeded.
Definition at line 44 of file TestConstants.h. |
|
Size of the pending manoeuvre list in the manoeuvre manager.
Definition at line 258 of file TestConstants.h. |
|
Max number of test cases that can be loaded in a test suite.
Definition at line 68 of file TestConstants.h. |
|
Maximum length of the name of a test case.
Definition at line 115 of file TestConstants.h. |
|
Large value of the definition buffer size of the
Definition at line 212 of file TestConstants.h. |
|
Small value of the definition buffer size of the
Definition at line 219 of file TestConstants.h. |
|
Maximum number of fixed-length array of the
Definition at line 205 of file TestConstants.h. |
|
Large value of the value buffer size of the
Definition at line 226 of file TestConstants.h. |
|
Large value of the value buffer size of the
Definition at line 233 of file TestConstants.h. |
|
Size of the PUS event repository (instance of class
Definition at line 289 of file TestConstants.h. |
|
Size of the internal buffer used by the memory management telecommands and telemetry packets.
Definition at line 308 of file TestConstants.h. |
|
Maximum number of memory blocks that can be handled by memory management telecommands and telemetry packets.
Definition at line 302 of file TestConstants.h. |
|
Return value of a test case whose shut down service failed.
Definition at line 62 of file TestConstants.h. |
|
Return value of a test case whose shut down service succeeded.
Definition at line 56 of file TestConstants.h. |
|
Maximum number of telecommands for the
Definition at line 264 of file TestConstants.h. |
|
Maximum length of a telecommand for the
Definition at line 270 of file TestConstants.h. |
|
Size of the pending telecommand list in the telecommand manager.
Definition at line 239 of file TestConstants.h. |
|
Return value of a test case whose execution failed.
Definition at line 38 of file TestConstants.h. |
|
Constant string used in the construction of the name of the documentation file for the test cases.
The
Definition at line 102 of file TestConstants.h. |
|
Constant string used in the construction of the name of the documentation file for the test cases.
Definition at line 109 of file TestConstants.h. |
|
Return value of a test case whose execution was successful.
Definition at line 32 of file TestConstants.h. |
|
APID of the destination application of the PUS telecommand packets used in the test cases.
Definition at line 198 of file TestConstants.h. |
|
Telecommand identifier used in the test telecommand packet defined by class
Definition at line 177 of file TestConstants.h. |
|
Telecommand packet source used in the test telecommand packet defined by class
Definition at line 170 of file TestConstants.h. |
|
Telecommand packet subtype used in the test telecommand packet defined by class
Definition at line 149 of file TestConstants.h. |
|
Telecommand packet type used in the test telecommand packet defined by class
Definition at line 135 of file TestConstants.h. |
|
APID of the source application of the PUS telemetry packets used in the test cases.
Definition at line 191 of file TestConstants.h. |
|
Telemetry packet default destination used in the test cases.
Definition at line 184 of file TestConstants.h. |
|
Telemetry packet destination used in the test telemetry packet defined by class
Definition at line 163 of file TestConstants.h. |
|
Telemetry packet subtype used in the test telemetry packet defined by class
Definition at line 142 of file TestConstants.h. |
|
Telemetry packet timetag used in the test telemetry packet defined by class
Definition at line 156 of file TestConstants.h. |
|
Telemetry packet type used in the test telemetry packet defined by class
Definition at line 128 of file TestConstants.h. |
|
Constant string defining the name of the log file used by the test tracer component.
Definition at line 121 of file TestConstants.h. |
|
Capacity of the telemetry buffer in the
Definition at line 276 of file TestConstants.h. |
|
Maximum length of the application data of a telemetry packet in the telemetry logger stream (class
Definition at line 283 of file TestConstants.h. |
|
Size of the immediate disptach queue in the telemetry manager.
Definition at line 245 of file TestConstants.h. |
|
Maximum number of PUS packets that can be loaded in a PUS telemetry mode manager.
Definition at line 252 of file TestConstants.h. |