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

TestCaseChecksum_1 Class Reference

#include <TestCaseChecksum_1.h>

Inheritance diagram for TestCaseChecksum_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the checksum functions provided in module Checksum.

The following specific tests are performed:

  1. The checksum of a stream of bytes is computed and the correctness of of the computed value is checked.
  2. A checksum check is performed over a stream of bytes and the correctness of the check result is verifed.
The sample stream of data are taken from section A.2.5 of the PUS standard.
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 27 of file TestCaseChecksum_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseChecksum_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 22 of file TestCaseChecksum_1.cpp.


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