#include <TestCasePUSMemoryDumpOffset_1.h>
Inheritance diagram for TestCasePUSMemoryDumpOffset_1:
DC_PUSMemoryDumpOffset
class.
One telecommand instance of type DC_PUSMemoryDumpOffset
is created and the following specific tests are then performed:<ol> The correctness of the class identifier is checked. The correctness of the type and subtype is checked. It is checked that the telemetry packet component is initially not configured. The maximum number of blocks in the telemetry packet component is set and the correctness of the set operation is checked. The size of the dump buffer is set and the correctness of the set operation is checked. It is checked that the component is now configured. The base address is set and the correctness of the set operation is checked. The memory block identifier is set and the correctness of the set operation is checked. It is checked that the checksum flag is initially set to "false". The memory dump blocks are defined and the correctness of the configuration operation is checked. It is checked that the fast acquisition service is available. A data update operation is performed and is followed by a data acquisition operation. The correctness of the acquired data is checked. The number of bytes in the telemetry packet is read out and the correctness of the read-out value is checked. The checksum flag is changed to "true" (checksum field required) and the correctness of the operation is checked. One memory dump block is defined, a data update and a data acquisition are performed, and the correctness of the memory dump data (including the checksum filed) is checked. Non-nominal behaviour check: an attempt is made to load too many memory blocks and it is checked that the correct event is generated. Non-nominal behaviour check: an attempt is made to configure a non-existent block and it is checked that the correct event is generated. Non-nominal behaviour check: an attempt is made to dump a set of blocks that overflow the dump buffer and it is checked that the correct event is generated.
Definition at line 58 of file TestCasePUSMemoryDumpOffset_1.h.
Public Member Functions | |
TestCasePUSMemoryDumpOffset_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_PUSMEMORYDUMPOFFSET*10+1 and "TestCasePUSMemoryDumpOffset_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 26 of file TestCasePUSMemoryDumpOffset_1.cpp. |