#include <TestCasePUSMemoryLoadAbsolute_1.h>
Inheritance diagram for TestCasePUSMemoryLoadAbsolute_1:
DC_PUSMemoryLoadAbsolute
class for the case where no checksum checks are performed.
One telecommand instance of type DC_PUSMemoryLoadAbsolute
is created and the following specific tests are then performed:<ol> The correctness of the class identifier is checked. It is checked that the telecommand component is initially not configured. The maximum number of blocks in the telecommand component is set to 3 and the correctness of the set operation is checked. The maximum number of data in the telecommand component is set to 10 and the correctness of the set operation is checked. It is checked that the component is now configured. The telecommand is loaded with raw data representing a memory load for one block with two data. It is checked that the validity check of the telecommand returns: "telecommand is valid". The telecommand is executed and 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 raw data representing a memory load for three blocks with three data each. It is checked that the validity check of the telecommand returns: "telecommand is valid". The telecommand is executed and 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 raw data representing a memory load for four blocks. It is checked that the validity check of the telecommand returns: "telecommand is not valid" and that the validity code is correct. The telecommand is loaded with raw data representing a memory load for two blocks with two data (first block) and nine data (second block). It is checked that the validity check of the telecommand returns: "telecommand is not valid" and that the validity code is correct. The telecommand raw data service is called with an invalid number of bytes to be transfered. It is checked that the validity check of the telecommand returns: "telecommand is not valid" and that the validity code is correct. The telecommand raw data service is called with an inconsistent number of bytes to be transfered. It is checked that the validity check of the telecommand returns: "telecommand is not valid" and that the validity code is correct.
Definition at line 59 of file TestCasePUSMemoryLoadAbsolute_1.h.
Public Member Functions | |
TestCasePUSMemoryLoadAbsolute_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_PUSMEMORYLOADABSOLUTE*10+1 and "TestCasePUSMemoryLoadAbsolute_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 TestCasePUSMemoryLoadAbsolute_1.cpp. |