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

TestCaseFileTelemetryStream_2 Class Reference

#include <TestCaseFileTelemetryStream_2.h>

Inheritance diagram for TestCaseFileTelemetryStream_2:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the file-oriented telemetry stream as implemented by class DC_FileTelemetryStream.

In this test the telemetry data are written to the standard output. The success or otherwise of the test should be verified by checking the standard output. An instance of this class is created and the following specific tests are performed:

  1. The telemetry stream file is set to pNULL (to signify that it is desired to direct the telemetry data to the standard output) and it is verified that the set operation succeeded.
  2. A dummy PUS telemetry packet (instance of class DC_DummyTelemetryPacket) is configured with two bytes with values of 1 and 2. The telemetry packet is written to the telemetry stream The success of this operation should be checked by inspecting the standard output.
  3. The value of the bytes encapsulated in the dummy telemetry packet is incremented by one and the telemetry packet is again written to the telemetry stream. The success of this operation should be checked by inspecting the standard output.
See also:
DC_FileTelemetryStream

DC_DummyTelemetryPacket

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

Definition at line 42 of file TestCaseFileTelemetryStream_2.h.

Public Member Functions

 TestCaseFileTelemetryStream_2 (void)
 Set the identifier and the name of the test case to, respectively, ID_FILETELEMETRYSTREAM*10+2 and "TestCaseFileTelemetryStream_2".

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseFileTelemetryStream_2::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseFileTelemetryStream_2.cpp.


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