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

TestCaseDummyPUSTelemetryPacket_1 Class Reference

#include <TestCaseDummyPUSTelemetryPacket_1.h>

Inheritance diagram for TestCaseDummyPUSTelemetryPacket_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionalities implemented by class PUSTelemetryPacket.

Since this class is abstract, the checks are carried out on its concrete subclass DC_DummyPUSTelemetryPacket. An instance of this class is created and the following specific checks are carried out:

  1. The correctness of the class identifier is verified.
  2. The value of the encapsulated byte is set and read out with the data acquisition service and its correctness is verified.
  3. It is verified that the default value returned by the data acquisitions service is 0.
  4. The implementation of the update service is verified.
  5. The value of the encapsulated byte is set to 255 and an update request is made. It is verified that the value of the encapsulated byte is correctly wrapped around to 0..
  6. The telemetry packet time tag is set and then read back and its correctness is checked.
  7. The telemetry packet type is set and then read back and its correctness is checked.
  8. The telemetry packet sub type is set and then read back and its correctness is checked.
  9. The telemetry packet identifier is read and the correctness of its value is checked.
  10. The default value of the telemetry packet destination is checked.
  11. The telemetry packet destination is modified and then read back and its correctness is checked.
  12. The value of the OBS Clock is read and it is checkes that it is different from NULL.
See also:
DC_PUSTelemetryPacket
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 47 of file TestCaseDummyPUSTelemetryPacket_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseDummyPUSTelemetryPacket_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 23 of file TestCaseDummyPUSTelemetryPacket_1.cpp.


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