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

TestCaseBasicDataPool_1 Class Reference

#include <TestCaseBasicDataPool_1.h>

Inheritance diagram for TestCaseBasicDataPool_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionalities implemented by the DataPool class.

Since this class is abstract, its functionalities are checked in the implementation of its concrete subclass DC_BasicDataPool_1. An instance of the component is created and the following specific checks are performed upon it:

  1. It is verified that the class ID of the component has the correct value.
  2. It is verified that, after instantiation, the configuration service of the component reports "not configured".
  3. The size of the data pool is set and read back and it is checked that the read-back value is correct.
  4. It is checked that the configuration service of the component reports "configured".
  5. It is verified that the data item attribute of a data pool item encapsulates an unsigned integer with value zero.
  6. It is verified that the time stamp attribute of a data pool item is equal to zero.
  7. It is verified that the validity attribute of a data pool item is "valid".
  8. It is verified that the setter method for the validity status of a data pool item can be called without an exception being generated.
  9. It is verified that both type checking services for a data pool item return "true".
  10. It is verified that the firstIdentifier and nextIdentifier iteration methods return zero and that the isLastIdentifier method returns "true".
  11. It is verified that the monitoring profile attribute of a data pool item is an instance of class DC_NullProfile.
  12. It is verified that the recovery action attribute of a data pool item is an instance of class DC_NullRecoveryAction.
  13. It is verified that the reset method can be called without an exception being generated.
  14. A float value is set and then read and it is verified that the value that is read back is the same as the value that was written.
  15. An integer value is set and then read and it is verified that the value that is read back is the same as the value that was written.
  16. A float value is set and then its pointer is read and it is verified that the value that was written can be correctly read from the pointer.
  17. An integer value is set and then its pointer is read and it is verified that the value that was written can be correctly read from the pointer.
See also:
DC_BasicDataPool
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 56 of file TestCaseBasicDataPool_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseBasicDataPool_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 28 of file TestCaseBasicDataPool_1.cpp.


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