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

TestCaseByteArrayTelemetryStream_1 Class Reference

#include <TestCaseByteArrayTelemetryStream_1.h>

Inheritance diagram for TestCaseByteArrayTelemetryStream_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the telemetry stream services as implemented by class DC_ByteArrayTelemetryStream.

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 size of the byte array is set and then read out and it is verified that that the read-out value is correct.
  4. The startiing address of the byte array is loaded and then read out and it is verified that that the read-out value is correct.
  5. It is verified that the configuration check service now reports "object configured".
  6. A write request is made for a telemetry packet (an instance of class DC_DummyTelemetryPacket) is used and it is verified that the correct values are writtent to the byte array.
  7. The doesPacketFit method is called twice to return "item fits" in the first case and "item does not fit" in the second case.
  8. Additional write requests are made that should not be executed because there is no more space in the byte array.
  9. The telemetry stream is reset and it is verified that the write requests can now be processed.
  10. The byte array is again filled up and it is then flushed. It is verified that the flush operation is successful.
See also:
DC_ByteArrayTelemetryStream
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 46 of file TestCaseByteArrayTelemetryStream_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseByteArrayTelemetryStream_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 23 of file TestCaseByteArrayTelemetryStream_1.cpp.


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