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

TestCaseCycleDataItem16TmStream_1 Class Reference

#include <TestCaseCycleDataItem16TmStream_1.h>

Inheritance diagram for TestCaseCycleDataItem16TmStream_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the telemetry stream services as implemented by class DC_CycleDataItem16TmStream.

An instance of this class is created and the following specific tests are performed:

  1. The correctness of the class identifier is verified.
  2. It is verified that the configuration check service of the object initially reports "object not configured".
  3. The number of data items in the DC_CycleDataItem16TmStream is set to 3 and it is verified that it is correctly returned by the getSize service.
  4. Three data items are loaded into the DC_CycleDataItem16TmStream and it is verified that the configuration check service now reports "object configured".
  5. A dummy telemetry packet (instance of class DC_DummyTelemetryPacket) is configured to hold 4 bytes. The service doesPacketFit is used to check whether the telemetry packet fits in the telemetry stream. The telemetry packet is written to the telemetry stream and it is verified that the write request is correctly executed.
  6. The service doesPacketFit is used to check whether the telemetry packet can be written a second time telemetry stream.
  7. The telemetry packet is written again to the telemetry stream and it is verified that only its first two bytes are written to the data items encapsulated by the telemetry stream.
  8. The telemetry stream is reset, the telemetry packet is written again and it is verified that the write request is correctly executed.
See also:
DC_CycleDataItem16TmStream
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 46 of file TestCaseCycleDataItem16TmStream_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseCycleDataItem16TmStream_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseCycleDataItem16TmStream_1.cpp.


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