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

TestCasePUSMemoryLoadOffset_2 Class Reference

#include <TestCasePUSMemoryLoadOffset_2.h>

Inheritance diagram for TestCasePUSMemoryLoadOffset_2:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the checksum-related functionalities of the 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.

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

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.


Member Function Documentation

void TestCasePUSMemoryLoadOffset_2::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 26 of file TestCasePUSMemoryLoadOffset_2.cpp.


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