Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TestCasePUSMemoryLoadAbsolute_1 Class Reference

#include <TestCasePUSMemoryLoadAbsolute_1.h>

Inheritance diagram for TestCasePUSMemoryLoadAbsolute_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionality of the 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.

See also:
DC_PUSMemoryLoadOffset
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

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.


Member Function Documentation

void TestCasePUSMemoryLoadAbsolute_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 26 of file TestCasePUSMemoryLoadAbsolute_1.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved