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

TestCaseDummyPUSTelecommand_1 Class Reference

#include <TestCaseDummyPUSTelecommand_1.h>

Inheritance diagram for TestCaseDummyPUSTelecommand_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionalities implemented in the PUSTelecommand class.

Since this class is abstract, it is tested through its concrete subclass DC_DummyPUSTelecommand. An instance of this class is created and the following specific tests are performed:

  1. The correctness of the class identifier is checked.
  2. It is checked that the telecommand is not configured.
  3. The time tag is set and read back and the correctness of the read-back value is checked.
  4. The telecommand identifier is read out and its correctness is checked.
  5. The telecommand type is read out and its correctness is checked.
  6. The telecommand subtype read out and its correctness is checked.
  7. The telecommand acknowledge level is read out and its correctness is checked.
  8. The packet identifier is read and the correctness of its value is checked.
  9. The telecommand ackowledge level is updated and it is checked that the value of the acceptance flag, the start flag, the progress flag and the completion flags are consistent with the value of the acknoledge level attribute.
  10. It is verified that the configuration service of the telecommand now reports "telecommand is configured".
  11. It is verified that the initial value of the execution counter is equal to zero.
  12. Two execution requests are sent to the telecommand and it is verified that the execution counter is incremented by two.
See also:
DC_DummyPUSTelecommand
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 44 of file TestCaseDummyPUSTelecommand_1.h.

Public Member Functions

 TestCaseDummyPUSTelecommand_1 (void)
 Set the identifier and the name of the test case to, respectively, ID_DUMMYPUSTELECOMMAND*10+1 and "TestCaseDummyPUSTelecommand_1".

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseDummyPUSTelecommand_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 22 of file TestCaseDummyPUSTelecommand_1.cpp.


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