#include <TestCasePUSMemoryLoadOffset_2.h>
Inheritance diagram for TestCasePUSMemoryLoadOffset_2:
DC_PUSMemoryLoadOffset
class.
One telecommand instance of type DC_PUSMemoryLoadOffset
is created. The image of a telecommand packet consisting of one block with four data is set up. The following specific tests are then performed:<ol> The telecommand is loaded with a valid checksum and it is then executed. It is checked that the outcome code of the telecommand is ACTION_SUCCESS and that the memory load is correctly executed. The telecommand is loaded with a invalid checksum and it is then executed. It is checked that the correctness of the outcome code and that the memory load is not performed. This test case assumes the type TD_PUSMemData
to be defined as unsigned char
.
Definition at line 34 of file TestCasePUSMemoryLoadOffset_2.h.
Public Member Functions | |
TestCasePUSMemoryLoadOffset_2 (void) | |
Set the identifier and the name of the test case to, respectively, ID_PUSMEMORYLOADOFFSET*10+2 and "TestCasePUSMemoryLoadOffset_2". | |
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 TestCasePUSMemoryLoadOffset_2.cpp. |